kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec.V1beta1ClusterTrustBundleSpec(signer_name=None, trust_bundle=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'signer_name': 'signerName', 'trust_bundle': 'trustBundle'}
- openapi_types = {'signer_name': 'str', 'trust_bundle': 'str'}
- property signer_name
Gets the signer_name of this V1beta1ClusterTrustBundleSpec. # noqa: E501
signerName indicates the associated signer, if any. In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest. If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo, valid ClusterTrustBundle object names include example.com:foo:abc and example.com:foo:v1. If signerName is empty, then the ClusterTrustBundle object’s name must not have such a prefix. List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME field selector. # noqa: E501
- Returns:
The signer_name of this V1beta1ClusterTrustBundleSpec. # noqa: E501
- Return type:
str
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property trust_bundle
Gets the trust_bundle of this V1beta1ClusterTrustBundleSpec. # noqa: E501
trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers. Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data. # noqa: E501
- Returns:
The trust_bundle of this V1beta1ClusterTrustBundleSpec. # noqa: E501
- Return type:
str