Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct { ID string `json:"id,omitempty"` Desc string `json:"desc,omitempty"` Roles []mongodbatlas.AtlasRole `json:"roles,omitempty"` PrivateKey string `json:"privateKey,omitempty"` PublicKey string `json:"publicKey,omitempty"` OrgID string `json:"orgID,omitempty"` }
func (APIKey) MongoKey ¶
func (k APIKey) MongoKey() mongodbatlas.APIKey
type BrokerAuth ¶
type Credentials ¶
type Credentials struct { Broker *BrokerAuth // contains filtered or unexported fields }
func FromCredHub ¶
func FromCredHub(baseURL string) (*Credentials, error)
func FromEnv ¶
func FromEnv(baseURL string) (*Credentials, error)
func (*Credentials) Keys ¶
func (c *Credentials) Keys() map[string]APIKey
Click to show internal directories.
Click to hide internal directories.