Class PolicyRootOfTrust

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<PolicyRootOfTrustBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PolicyRootOfTrust
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PolicyRootOfTrustBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PolicyRootOfTrust defines the root of trust based on the selected policyType.
    See Also:
    Serialized Form
    • Constructor Detail

      • PolicyRootOfTrust

        public PolicyRootOfTrust()
        No args constructor for use in serialization
    • Method Detail

      • getFulcioCAWithRekor

        public FulcioCAWithRekor getFulcioCAWithRekor()
        PolicyRootOfTrust defines the root of trust based on the selected policyType.
      • setFulcioCAWithRekor

        public void setFulcioCAWithRekor​(FulcioCAWithRekor fulcioCAWithRekor)
        PolicyRootOfTrust defines the root of trust based on the selected policyType.
      • getPki

        public PKI getPki()
        PolicyRootOfTrust defines the root of trust based on the selected policyType.
      • setPki

        public void setPki​(PKI pki)
        PolicyRootOfTrust defines the root of trust based on the selected policyType.
      • getPolicyType

        public String getPolicyType()
        policyType is a required field specifies the type of the policy for verification. This field must correspond to how the policy was generated. Allowed values are "PublicKey", "FulcioCAWithRekor", and "PKI". When set to "PublicKey", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. When set to "FulcioCAWithRekor", the policy is based on the Fulcio certification and incorporates a Rekor verification. When set to "PKI", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). This value is enabled by turning on the SigstoreImageVerificationPKI feature gate.
      • setPolicyType

        public void setPolicyType​(String policyType)
        policyType is a required field specifies the type of the policy for verification. This field must correspond to how the policy was generated. Allowed values are "PublicKey", "FulcioCAWithRekor", and "PKI". When set to "PublicKey", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. When set to "FulcioCAWithRekor", the policy is based on the Fulcio certification and incorporates a Rekor verification. When set to "PKI", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). This value is enabled by turning on the SigstoreImageVerificationPKI feature gate.
      • getPublicKey

        public PublicKey getPublicKey()
        PolicyRootOfTrust defines the root of trust based on the selected policyType.
      • setPublicKey

        public void setPublicKey​(PublicKey publicKey)
        PolicyRootOfTrust defines the root of trust based on the selected policyType.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)