Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateSecret(ctx context.Context, in *CreateSecretInput) (*CreateSecretOutput, error)
- func (c *Client) DeleteSecret(ctx context.Context, in *DeleteSecretInput) (*DeleteSecretOutput, error)
- func (c *Client) DescribeSecret(ctx context.Context, in *DescribeSecretInput) (*DescribeSecretOutput, error)
- func (c *Client) GetResourcePolicy(ctx context.Context, in *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
- func (c *Client) GetSecretValue(ctx context.Context, in *GetSecretValueInput) (*GetSecretValueOutput, error)
- func (c *Client) ListSecretVersionIds(ctx context.Context, in *ListSecretVersionIdsInput) (*ListSecretVersionIdsOutput, error)
- func (c *Client) ListSecrets(ctx context.Context, in *ListSecretsInput) (*ListSecretsOutput, error)
- func (c *Client) PutResourcePolicy(ctx context.Context, in *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
- func (c *Client) PutSecretValue(ctx context.Context, in *PutSecretValueInput) (*PutSecretValueOutput, error)
- func (c *Client) TagResource(ctx context.Context, in *TagResourceInput) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, in *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Client) UpdateSecret(ctx context.Context, in *UpdateSecretInput) (*UpdateSecretOutput, error)
- func (c *Client) UpdateSecretVersionStage(ctx context.Context, in *UpdateSecretVersionStageInput) (*UpdateSecretVersionStageOutput, error)
- type CreateSecretInput
- type CreateSecretOutput
- type DeleteSecretInput
- type DeleteSecretOutput
- type DescribeSecretInput
- type DescribeSecretOutput
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type GetSecretValueInput
- type GetSecretValueOutput
- type ListSecretVersionIdsInput
- type ListSecretVersionIdsOutput
- type ListSecretVersionIdsPaginator
- type ListSecretsInput
- type ListSecretsOutput
- type ListSecretsPaginator
- type Options
- type PutResourcePolicyInput
- type PutResourcePolicyOutput
- type PutSecretValueInput
- type PutSecretValueOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateSecretInput
- type UpdateSecretOutput
- type UpdateSecretVersionStageInput
- type UpdateSecretVersionStageOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client calls secretsmanager over its wire protocol.
func NewFromConfig ¶
NewFromConfig returns a Client for cfg.
func (*Client) CreateSecret ¶
func (c *Client) CreateSecret(ctx context.Context, in *CreateSecretInput) (*CreateSecretOutput, error)
CreateSecret calls the CreateSecret operation.
func (*Client) DeleteSecret ¶
func (c *Client) DeleteSecret(ctx context.Context, in *DeleteSecretInput) (*DeleteSecretOutput, error)
DeleteSecret calls the DeleteSecret operation.
func (*Client) DescribeSecret ¶
func (c *Client) DescribeSecret(ctx context.Context, in *DescribeSecretInput) (*DescribeSecretOutput, error)
DescribeSecret calls the DescribeSecret operation.
func (*Client) GetResourcePolicy ¶
func (c *Client) GetResourcePolicy(ctx context.Context, in *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
GetResourcePolicy calls the GetResourcePolicy operation.
func (*Client) GetSecretValue ¶
func (c *Client) GetSecretValue(ctx context.Context, in *GetSecretValueInput) (*GetSecretValueOutput, error)
GetSecretValue calls the GetSecretValue operation.
func (*Client) ListSecretVersionIds ¶
func (c *Client) ListSecretVersionIds(ctx context.Context, in *ListSecretVersionIdsInput) (*ListSecretVersionIdsOutput, error)
ListSecretVersionIds calls the ListSecretVersionIds operation.
func (*Client) ListSecrets ¶
func (c *Client) ListSecrets(ctx context.Context, in *ListSecretsInput) (*ListSecretsOutput, error)
ListSecrets calls the ListSecrets operation.
func (*Client) PutResourcePolicy ¶
func (c *Client) PutResourcePolicy(ctx context.Context, in *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
PutResourcePolicy calls the PutResourcePolicy operation.
func (*Client) PutSecretValue ¶
func (c *Client) PutSecretValue(ctx context.Context, in *PutSecretValueInput) (*PutSecretValueOutput, error)
PutSecretValue calls the PutSecretValue operation.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, in *TagResourceInput) (*TagResourceOutput, error)
TagResource calls the TagResource operation.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, in *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource calls the UntagResource operation.
func (*Client) UpdateSecret ¶
func (c *Client) UpdateSecret(ctx context.Context, in *UpdateSecretInput) (*UpdateSecretOutput, error)
UpdateSecret calls the UpdateSecret operation.
func (*Client) UpdateSecretVersionStage ¶
func (c *Client) UpdateSecretVersionStage(ctx context.Context, in *UpdateSecretVersionStageInput) (*UpdateSecretVersionStageOutput, error)
UpdateSecretVersionStage calls the UpdateSecretVersionStage operation.
type CreateSecretInput ¶
type CreateSecretOutput ¶
type CreateSecretOutput struct {
ARN *string
Name *string
ReplicationStatus []types.ReplicationStatusType
VersionId *string
}
type DeleteSecretInput ¶
type DeleteSecretOutput ¶
type DescribeSecretInput ¶
type DescribeSecretInput struct {
SecretId *string
}
type DescribeSecretOutput ¶
type DescribeSecretOutput struct {
ARN *string
CreatedDate *time.Time
DeletedDate *time.Time
Description *string
ExternalSecretRotationMetadata []types.ExternalSecretRotationMetadataItem
ExternalSecretRotationRoleArn *string
KmsKeyId *string
LastAccessedDate *time.Time
LastChangedDate *time.Time
LastRotatedDate *time.Time
Name *string
NextRotationDate *time.Time
OwningService *string
PrimaryRegion *string
ReplicationStatus []types.ReplicationStatusType
RotationEnabled *bool
RotationLambdaARN *string
RotationRules *types.RotationRulesType
Tags []types.Tag
Type *string
VersionIdsToStages map[string][]string
}
type GetResourcePolicyInput ¶
type GetResourcePolicyInput struct {
SecretId *string
}
type GetResourcePolicyOutput ¶
type GetSecretValueInput ¶
type GetSecretValueOutput ¶
type ListSecretVersionIdsOutput ¶
type ListSecretVersionIdsOutput struct {
ARN *string
Name *string
NextToken *string
Versions []types.SecretVersionsListEntry
}
type ListSecretVersionIdsPaginator ¶
type ListSecretVersionIdsPaginator = awswire.Paginator[ListSecretVersionIdsInput, ListSecretVersionIdsOutput]
ListSecretVersionIdsPaginator pages through ListSecretVersionIds.
func NewListSecretVersionIdsPaginator ¶
func NewListSecretVersionIdsPaginator(c *Client, in *ListSecretVersionIdsInput) *ListSecretVersionIdsPaginator
NewListSecretVersionIdsPaginator returns a paginator over ListSecretVersionIds.
type ListSecretsInput ¶
type ListSecretsInput struct {
Filters []types.Filter
IncludePlannedDeletion *bool
MaxResults *int32
NextToken *string
SortBy types.SortByType `json:",omitempty"`
SortOrder types.SortOrderType `json:",omitempty"`
}
type ListSecretsOutput ¶
type ListSecretsOutput struct {
NextToken *string
SecretList []types.SecretListEntry
}
type ListSecretsPaginator ¶
type ListSecretsPaginator = awswire.Paginator[ListSecretsInput, ListSecretsOutput]
ListSecretsPaginator pages through ListSecrets.
func NewListSecretsPaginator ¶
func NewListSecretsPaginator(c *Client, in *ListSecretsInput) *ListSecretsPaginator
NewListSecretsPaginator returns a paginator over ListSecrets.
type PutResourcePolicyInput ¶
type PutResourcePolicyOutput ¶
type PutSecretValueInput ¶
type PutSecretValueOutput ¶
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct {
}
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct {
}