public interface ReactiveCredHubCertificateOperations
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<CertificateSummary> |
getAll()
Retrieve all certificates from CredHub.
|
reactor.core.publisher.Mono<CertificateSummary> |
getByName(CredentialName name)
Retrieve a certificate using its name.
|
reactor.core.publisher.Flux<CredentialName> |
regenerate(CredentialName certificateName)
Regenerate all certificates in CredHub that were signed by the specified certificate.
|
reactor.core.publisher.Mono<CertificateCredentialDetails> |
regenerate(java.lang.String id,
boolean setAsTransitional)
Regenerate a certificate.
|
reactor.core.publisher.Flux<CertificateCredentialDetails> |
updateTransitionalVersion(java.lang.String id,
java.lang.String versionId)
Make the specified version of a certificate the transitional version.
|
reactor.core.publisher.Flux<CertificateSummary> getAll()
reactor.core.publisher.Mono<CertificateSummary> getByName(CredentialName name)
name
- the name of the certificate credential; must not be nullreactor.core.publisher.Mono<CertificateCredentialDetails> regenerate(java.lang.String id, boolean setAsTransitional)
id
- the CredHub-generated ID of the certificate credential; must not be null
and must be an ID returned by getAll()
or getByName(CredentialName)
setAsTransitional
- true
to mark the certificate version transitional;
false
otherwisereactor.core.publisher.Flux<CredentialName> regenerate(CredentialName certificateName)
certificateName
- the name of the signing certificate credential; must not be nullreactor.core.publisher.Flux<CertificateCredentialDetails> updateTransitionalVersion(java.lang.String id, java.lang.String versionId)
id
- the CredHub-generated ID of the certificate credential; must not be null
and must be an ID returned by getAll()
or getByName(CredentialName)
versionId
- the CredHub-generated ID of the version of the certificate credential that should be
marked transitional, or null to indicate that no version
is transitional