CredentialDefinition¶
- class tracdap.rt.metadata.CredentialDefinition¶
Definition of a platform-level credential set
Unlike ResourceDefinition, a credential entry is not a connection to anything in its own right - it is an input consumed by other resources’ auth logic, so it carries no protocol, sub-protocol or resource type of its own.
- properties: Dict[str, str]¶
Configuration properties for this credential set, not visible to client applications
- secrets: Dict[str, str]¶
Configuration properties that are stored as secrets using TRAC’s secret handling mechanism
Only the secret alias is stored in metadata, handling of secret storage is delegated to the configured secrets plugin. Secret values may be sent by clients when credential definitions are created / updated, in which case they will be written to the configured secret store and metadata values will be replaced with an alias.
Documentation v0.11