package smapi

import "github.com/oslokommune/okctl/pkg/smapi"

Package smapi provides some convenience functions for interacting with the AWS SecretsManager API

Index

Types

type SMAPI

type SMAPI struct {
	// contains filtered or unexported fields
}

SMAPI contains the required state for the secrets manager client

func New

func New(provider v1alpha1.CloudProvider) *SMAPI

New returns an initialised SecretsManager API Client

func (*SMAPI) CancelRotateSecret

func (a *SMAPI) CancelRotateSecret(secretID string) error

CancelRotateSecret removes a secret rotation

func (*SMAPI) RotateSecret

func (a *SMAPI) RotateSecret(lambdaARN, secretID string) error

RotateSecret enables a secret rotation

Source Files

smapi.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
5 packages
Last checked
18 hours ago

Tools for package owners.