Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkSecret ¶
type BulkSecret struct {
client.Resource
Data []Secret `json:"data,omitempty"`
RewrapKey string `json:"rewrapKey,omitempty"`
}
func NewBulkSecret ¶
func NewBulkSecret() *BulkSecret
func (*BulkSecret) Encrypt ¶
func (s *BulkSecret) Encrypt() error
func (*BulkSecret) Rewrap ¶
func (s *BulkSecret) Rewrap() error
type Secret ¶
type Secret struct {
client.Resource
SecretName string `json:"name"`
Backend string `json:"backend"`
KeyName string `json:"keyName"`
CipherText string `json:"cipherText,omitempty"`
ClearText string `json:"clearText,omitempty"`
RewrapText string `json:"rewrapText,omitempty"`
RewrapKey string `json:"rewrapKey,omitempty"`
HashAlgorithm string `json:"hashAlgorithm"`
EncryptionAlgorithm string `json:"encryptionAglorigthm"`
Signature string `json:"signature"`
}
func GetSecretResource ¶
func GetSecretResource() *Secret
func NewSecret ¶
func NewSecret(context *api.ApiContext) *Secret
type SecretCollection ¶
type SecretCollection struct {
client.Collection
Data []Secret `json:"data,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.