Documentation ¶
Overview ¶
CredHub credential types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { Name string `json:"name" yaml:"name"` VersionCreatedAt string `json:"version_created_at" yaml:"version_created_at"` }
Base fields of a credential
type Certificate ¶
type Certificate struct { Metadata `yaml:",inline"` Value values.Certificate `json:"value"` }
A Certificate type credential
type Credential ¶
type Credential struct { Metadata `yaml:",inline"` Value interface{} `json:"value"` }
A generic credential
Used when the Type of the credential is not known ahead of time.
Value will be as unmarshalled by https://golang.org/pkg/encoding/json/#Unmarshal
type FindResults ¶
type FindResults struct {
Credentials []Base `json:"credentials" yaml:"credentials"`
}
Types needed for Find functionality
type SSH ¶
type SSH struct { Metadata `yaml:",inline"` Value struct { values.SSH `yaml:",inline"` PublicKeyFingerprint string `json:"public_key_fingerprint" yaml:"public_key_fingerprint"` } `json:"value"` }
An SSH type credential
Click to show internal directories.
Click to hide internal directories.