Interface TrustBundleEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrustBundleEntry.Builder,,TrustBundleEntry> SdkBuilder<TrustBundleEntry.Builder,,TrustBundleEntry> SdkPojo
- Enclosing class:
TrustBundleEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe SPIFFE trust bundle for the trust domain, as a JSON document.trustDomain(String trustDomain) The SPIFFE trust domain that the trust bundle is for, for exampleexample.org.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
trustDomain
The SPIFFE trust domain that the trust bundle is for, for example
example.org. The SPIFFE IDs of workloads in this trust domain begin withspiffe://followed by the trust domain.- Parameters:
trustDomain- The SPIFFE trust domain that the trust bundle is for, for exampleexample.org. The SPIFFE IDs of workloads in this trust domain begin withspiffe://followed by the trust domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundle
The SPIFFE trust bundle for the trust domain, as a JSON document. The document is a JSON Web Key (JWK) Set, as defined in RFC 7517, with the following members:
-
spiffe_refresh_hint– How often, in seconds, to get the trust bundle again. -
keys– The public keys for the trust domain. A key with ausevalue ofx509-svidverifies X509-SVIDs, and itsx5cmember contains the root certificate authority (CA) certificate. A key with ausevalue ofjwt-svidverifies JWT-SVIDs, and itskidmember matches thekidheader of the JWT-SVIDs that it signs.
For more information, see SPIFFE Trust Domain and Bundle.
- Parameters:
bundle- The SPIFFE trust bundle for the trust domain, as a JSON document. The document is a JSON Web Key (JWK) Set, as defined in RFC 7517, with the following members:-
spiffe_refresh_hint– How often, in seconds, to get the trust bundle again. -
keys– The public keys for the trust domain. A key with ausevalue ofx509-svidverifies X509-SVIDs, and itsx5cmember contains the root certificate authority (CA) certificate. A key with ausevalue ofjwt-svidverifies JWT-SVIDs, and itskidmember matches thekidheader of the JWT-SVIDs that it signs.
For more information, see SPIFFE Trust Domain and Bundle.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-