amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

Description

 
Synopsis

Documentation

data SecretsManagerSecretConfiguration Source #

The configuration for a Secrets Manager secret. For more information, see CreateSecret.

You can propose a configuration for a new secret or an existing secret that you own by specifying the secret policy and optional KMS encryption key. If the configuration is for an existing secret and you do not specify the secret policy, the access preview uses the existing policy for the secret. If the access preview is for a new resource and you do not specify the policy, the access preview assumes a secret without a policy. To propose deletion of an existing policy, you can specify an empty string. If the proposed configuration is for a new secret and you do not specify the KMS key ID, the access preview uses the Amazon Web Services managed key aws/secretsmanager. If you specify an empty string for the KMS key ID, the access preview uses the Amazon Web Services managed key of the Amazon Web Services account. For more information about secret policy limits, see Quotas for Secrets Manager..

See: newSecretsManagerSecretConfiguration smart constructor.

Constructors

SecretsManagerSecretConfiguration' 

Fields

Instances

Instances details
FromJSON SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

ToJSON SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

Generic SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

Associated Types

type Rep SecretsManagerSecretConfiguration :: Type -> Type #

Read SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

Show SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

NFData SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

Eq SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

Hashable SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

type Rep SecretsManagerSecretConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration

type Rep SecretsManagerSecretConfiguration = D1 ('MetaData "SecretsManagerSecretConfiguration" "Amazonka.AccessAnalyzer.Types.SecretsManagerSecretConfiguration" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "SecretsManagerSecretConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration Source #

Create a value of SecretsManagerSecretConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:kmsKeyId:SecretsManagerSecretConfiguration', secretsManagerSecretConfiguration_kmsKeyId - The proposed ARN, key ID, or alias of the KMS key.

$sel:secretPolicy:SecretsManagerSecretConfiguration', secretsManagerSecretConfiguration_secretPolicy - The proposed resource policy defining who can access or manage the secret.

secretsManagerSecretConfiguration_secretPolicy :: Lens' SecretsManagerSecretConfiguration (Maybe Text) Source #

The proposed resource policy defining who can access or manage the secret.