TrustPolicy Class

The content trust policy for a container registry.

Constructor

TrustPolicy()

Variables

Name Description
type
Union[str, <xref:"TrustPolicyType">]

The type of trust policy. "Notary"

status
Union[str, <xref:"PolicyStatus">]

The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled".

Attributes

status

"enabled" and "disabled".

status: str | PolicyStatus

type

The type of trust policy. "Notary"

type: str | TrustPolicyType