Documentation
¶
Overview ¶
Package gcp abstracts interacting with certain aspects of Google Cloud Platform, such as creating service account keys and access tokens.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountWarehouse ¶
type AccountWarehouse struct {
// contains filtered or unexported fields
}
AccountWarehouse is used to create Google Cloud Platform Service Account keys and access tokens associated with a specific identity.
func NewAccountWarehouse ¶
func NewAccountWarehouse(client *http.Client, opts *AccountWarehouseOptions) (*AccountWarehouse, error)
NewAccountWarehouse creates a new AccountWarehouse using the provided client and options.
func (*AccountWarehouse) GetAccessToken ¶
GetAccessToken returns an access token for the service account uniquely associated with id.
func (*AccountWarehouse) GetAccountKey ¶
GetAccountKey returns a service account key associated with id.
type AccountWarehouseOptions ¶
AccountWarehouseOptions is used with NewWarehouse to configure a new warehouse.
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
appengine
Package appengine provides common functionality for applications running on Google Cloud Platform's appengine.
|
Package appengine provides common functionality for applications running on Google Cloud Platform's appengine. |
The key-vendor daemon returns Google Cloud Platform service account keys for external GA4GH identities.
|
The key-vendor daemon returns Google Cloud Platform service account keys for external GA4GH identities. |
This package provides a single-host reverse proxy that rewrites bearer tokens in Authorization headers to be Google Cloud Platform access tokens.
|
This package provides a single-host reverse proxy that rewrites bearer tokens in Authorization headers to be Google Cloud Platform access tokens. |
Click to show internal directories.
Click to hide internal directories.