sym.sdk.secret.SecretSource

class sym.sdk.secret.SecretSource(srn: Union[sym.sdk.resource.SRN, str])

Bases: sym.sdk.resource.SymResource

This class represents a sym_secrets (plural) Terraform resource.

A sym_secrets resource represents a remote service or location where secrets are stored; for example, AWS Secrets Manager.

Methods

dict()

Represent this resource as a dictionary.

Attributes

name

An alias for this resource's slug, derived from its SRN.

settings

A dictionary of settings for the secret storage, as specified in Terraform.

srn

A SRN object that represents the unique identifier for this resource.

type

The type of remote storage; for example, aws_secrets_manager.

dict()

Represent this resource as a dictionary.

property name

An alias for this resource’s slug, derived from its SRN.

property settings

A dictionary of settings for the secret storage, as specified in Terraform.

property srn

A SRN object that represents the unique identifier for this resource.

property type

The type of remote storage; for example, aws_secrets_manager.