Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArkSIADBAtlasAccessKeysSecretData ¶
type ArkSIADBAtlasAccessKeysSecretData struct {
ArkSIADBSecretData
PublicKey string `json:"public_key" mapstructure:"public_key" desc:"Public part of mongo atlas access keys"`
PrivateKey string `json:"private_key" mapstructure:"private_key" desc:"Private part of mongo atlas access keys"`
Metadata map[string]interface{} `json:"metadata,omitempty" mapstructure:"metadata" desc:"Extra secret details"`
}
ArkSIADBAtlasAccessKeysSecretData represents the Mongo Atlas access keys secret data in the Ark SIA DB.
func (*ArkSIADBAtlasAccessKeysSecretData) GetDataSecretType ¶
func (s *ArkSIADBAtlasAccessKeysSecretData) GetDataSecretType() string
GetDataSecretType returns the secret type of the secret data.
type ArkSIADBExposedAtlasAccessKeysSecretData ¶
type ArkSIADBExposedAtlasAccessKeysSecretData struct {
ArkSIADBSecretData
PublicKey string `json:"public_key" mapstructure:"public_key" desc:"Public part of mongo atlas access keys"`
}
ArkSIADBExposedAtlasAccessKeysSecretData represents the exposed Mongo Atlas access keys secret data in the Ark SIA DB.
func (*ArkSIADBExposedAtlasAccessKeysSecretData) GetDataSecretType ¶
func (s *ArkSIADBExposedAtlasAccessKeysSecretData) GetDataSecretType() string
GetDataSecretType returns the secret type of the secret data.
type ArkSIADBExposedIAMUserSecretData ¶
type ArkSIADBExposedIAMUserSecretData struct {
ArkSIADBSecretData
Account string `json:"account" mapstructure:"account" desc:"Account number of the iam user"`
Username string `json:"username" mapstructure:"username" desc:"Username portion in the ARN of the iam user"`
}
ArkSIADBExposedIAMUserSecretData represents the exposed IAM user secret data in the Ark SIA DB.
func (*ArkSIADBExposedIAMUserSecretData) GetDataSecretType ¶
func (s *ArkSIADBExposedIAMUserSecretData) GetDataSecretType() string
GetDataSecretType returns the secret type of the secret data.
type ArkSIADBExposedUserPasswordSecretData ¶
type ArkSIADBExposedUserPasswordSecretData struct {
ArkSIADBSecretData
Username string `json:"username,omitempty" mapstructure:"username" desc:"Name or id of the user"`
}
ArkSIADBExposedUserPasswordSecretData represents the exposed user password secret data in the Ark SIA DB.
func (*ArkSIADBExposedUserPasswordSecretData) GetDataSecretType ¶
func (s *ArkSIADBExposedUserPasswordSecretData) GetDataSecretType() string
GetDataSecretType returns the secret type of the secret data.
type ArkSIADBIAMUserSecretData ¶
type ArkSIADBIAMUserSecretData struct {
ArkSIADBSecretData
Account string `json:"account" mapstructure:"account" desc:"Account number of the iam user"`
Region string `json:"region,omitempty" mapstructure:"region" desc:"Region associated with the iam user"`
Username string `json:"username" mapstructure:"username" desc:"Username portion in the ARN of the iam user"`
AccessKeyID string `json:"access_key_id" mapstructure:"access_key_id" desc:"Access key id of the user"`
SecretAccessKey string `json:"secret_access_key" mapstructure:"secret_access_key" desc:"Secret access key of the user"`
Metadata map[string]interface{} `json:"metadata,omitempty" mapstructure:"metadata" desc:"Extra secret details"`
}
ArkSIADBIAMUserSecretData represents the IAM user secret data in the Ark SIA DB.
func (*ArkSIADBIAMUserSecretData) GetDataSecretType ¶
func (s *ArkSIADBIAMUserSecretData) GetDataSecretType() string
GetDataSecretType returns the secret type of the secret data.
type ArkSIADBSecretData ¶
type ArkSIADBSecretData interface {
// GetDataSecretType returns the secret type of the secret data.
GetDataSecretType() string
}
ArkSIADBSecretData represents a secret data in the Ark SIA DB.
type ArkSIADBUserPasswordSecretData ¶
type ArkSIADBUserPasswordSecretData struct {
ArkSIADBSecretData
Username string `json:"username,omitempty" mapstructure:"username" desc:"Name or id of the user"`
Password string `json:"password,omitempty" mapstructure:"password" desc:"Password of the user"`
Metadata map[string]interface{} `json:"metadata,omitempty" mapstructure:"metadata" desc:"Extra secret details"`
}
ArkSIADBUserPasswordSecretData represents the user password secret data in the Ark SIA DB.
func (*ArkSIADBUserPasswordSecretData) GetDataSecretType ¶
func (s *ArkSIADBUserPasswordSecretData) GetDataSecretType() string
GetDataSecretType returns the secret type of the secret data.