Documentation ¶
Index ¶
- Constants
- type Key
- func (k *Key) Create(spec cloudobject.CloudObjectSpec) (cloudobject.Secrets, error)
- func (k *Key) Delete(purge bool) error
- func (k *Key) Exists() (bool, error)
- func (k *Key) ID() cloudobject.ID
- func (k *Key) Read() error
- func (k *Key) Status() cloudobject.Status
- func (k *Key) Update(spec cloudobject.CloudObjectSpec) (cloudobject.Secrets, error)
- type KeySecrets
- type KeySpec
- type KeyStatus
- type KeyType
- type KeyUsage
Constants ¶
View Source
const (
KMSKeyTopic = "enckey"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func (*Key) Create ¶
func (k *Key) Create(spec cloudobject.CloudObjectSpec) (cloudobject.Secrets, error)
func (*Key) ID ¶
func (k *Key) ID() cloudobject.ID
func (*Key) Status ¶
func (k *Key) Status() cloudobject.Status
func (*Key) Update ¶
func (k *Key) Update(spec cloudobject.CloudObjectSpec) (cloudobject.Secrets, error)
type KeySecrets ¶
type KeySecrets awskms.KeyMetadata
func (*KeySecrets) Map ¶
func (secrets *KeySecrets) Map() map[string]string
type KeySpec ¶
func EncryptSymmetric ¶
func EncryptSymmetric() KeySpec
func (*KeySpec) CreateAliasInput ¶
func (spec *KeySpec) CreateAliasInput(alias, id string) awskms.CreateAliasInput
func (*KeySpec) CreateKeyInput ¶
func (spec *KeySpec) CreateKeyInput() awskms.CreateKeyInput
type KeyStatus ¶
type KeyStatus awskms.KeyMetadata
func (*KeyStatus) ProviderID ¶
func (status *KeyStatus) ProviderID() cloudobject.ProviderID
Click to show internal directories.
Click to hide internal directories.