sym.sdk.secret.Secret¶
- class sym.sdk.secret.Secret(srn: Union[sym.sdk.resource.SRN, str])¶
Bases:
sym.sdk.resource.SymResource
This class represents a sym_secret (singular) Terraform resource.
A
sym_secret
resource represents an individual secret stored in a remote service or location.Methods
dict
()Represent this resource as a dictionary.
Retrieve this secret's value from its remote storage.
Attributes
The UUID of the secret resource.
An alias for this resource's slug, derived from its
SRN
.The path to the secret in the remote secret store (e.g., AWS Secrets Manager).
A dictionary of settings for the secret, as specified in Terraform.
The location where this secret is stored.
A
SRN
object that represents the unique identifier for this resource.- dict()¶
Represent this resource as a dictionary.
- property id¶
The UUID of the secret resource.
- property path¶
The path to the secret in the remote secret store (e.g., AWS Secrets Manager).
- property settings¶
A dictionary of settings for the secret, as specified in Terraform.
- property source¶
The location where this secret is stored.