Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acceptAnyStatus() - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Returns every status to the caller (health probes); no status is retried.
accepts(int) - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns whether a non-2xx status is returned to the caller instead of raising an error.
acceptStatus(int...) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Returns these statuses to the caller instead of raising an error (no retries for them).
accessor() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the accessor record component.
accessor() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the accessor record component.
accessor() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the accessor record component.
accessor() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns the value of the accessor record component.
active() - Method in class codes.grow.packages.openbao.secrets.Watcher
Returns the number of running watches.
activeLeases() - Method in class codes.grow.packages.openbao.LeaseManager
Returns the number of managed leases.
activeRenewers() - Method in class codes.grow.packages.openbao.Auth
Returns the number of active renewers.
activeTime() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns the value of the activeTime record component.
allowedRoles() - Method in record class codes.grow.packages.openbao.ConnectionInfo
Returns the value of the allowedRoles record component.
allowedRoles(String...) - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Sets the roles allowed to use the connection.
allowPlaintextBackup(boolean) - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Allows plaintext backups.
allowPlaintextBackup(boolean) - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Allows plaintext backups (cannot be undone).
altNames(String...) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets DNS / email subject alternative names.
AppRoleAuth - Class in codes.grow.packages.openbao
AppRole login: POST auth/<mount>/login {role_id, secret_id} (default mount approle).
AppRoleAuth(String, Secret, String) - Constructor for class codes.grow.packages.openbao.AppRoleAuth
Creates the method.
AppRoleAuth(String, String) - Constructor for class codes.grow.packages.openbao.AppRoleAuth
Creates the method on mount approle.
AppRoleOptions - Class in codes.grow.packages.openbao
AppRoleOptions.Builder - Class in codes.grow.packages.openbao
Builder of AppRoleOptions.
arg(String) - Method in class codes.grow.packages.openbao.testing.StepContext
Returns a required string argument.
args() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns the value of the args record component.
args() - Method in class codes.grow.packages.openbao.testing.StepContext
Returns the arguments with ${...} variables substituted (#{i} is kept).
asSdkException(Throwable, String) - Static method in class codes.grow.packages.openbao.core.HttpTransport
Converts any throwable from a future into the matching SDK exception.
assertPassed() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Throws when any scenario failed.
associatedData(byte[]) - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Sets associated data (AEAD keys).
asyncExecutor() - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Returns the executor of the default …Async methods.
attempt() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns the value of the attempt record component.
attempts() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the number of attempts the call needed.
auth() - Method in class codes.grow.packages.openbao.OpenBaoClient
Logins, token self-service and token renewal.
auth() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the auth record component.
auth() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns the value of the auth record component.
Auth - Class in codes.grow.packages.openbao
Logins, token self-service and token renewal: client.auth().
AUTHENTICATION - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
HTTP 401: missing or invalid credentials.
AuthenticationException - Exception Class in codes.grow.packages.openbao.core
Missing or invalid credentials (HTTP 401).
AuthenticationException(String) - Constructor for exception class codes.grow.packages.openbao.core.AuthenticationException
Creates the exception.
AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.AuthenticationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.AuthenticationException
Creates the exception with response details.
AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.AuthenticationException
Creates the exception with a cause.
AuthInfo - Record Class in codes.grow.packages.openbao
The auth block of a login, token creation or renewal.
AuthInfo(Secret, Optional<Secret>, List<String>, List<String>, Map<String, String>, Duration, boolean, String, String, boolean, int) - Constructor for record class codes.grow.packages.openbao.AuthInfo
Creates the record; collections are copied.
AuthMethod - Interface in codes.grow.packages.openbao
autoRenew() - Method in class codes.grow.packages.openbao.LoginOptions
Returns the renewal options when automatic renewal is on.
autoRenew(RenewalOptions) - Method in class codes.grow.packages.openbao.LoginOptions.Builder
Starts a TokenRenewer that renews the token and logs in again with the same method when it cannot be renewed any more.
autoRotatePeriod() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the autoRotatePeriod record component.
autoRotatePeriod(Duration) - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Sets the automatic rotation period.
autoRotatePeriod(Duration) - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Sets the automatic rotation period.
await(boolean) - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Waits until the run is Finished, Error or Cancelled (default true).
await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.openbao.core.HttpTransport
Waits for a future of this SDK: an interrupt cancels the future and raises CancelledException.

B

backoff(int) - Method in class codes.grow.packages.openbao.core.RetryPolicy
Computes the full-jitter backoff for retry n.
backoffCap(int) - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the upper bound of the jitter window for retry n.
BaseSecretsProvider - Class in codes.grow.packages.openbao.secrets
Implements SecretsProvider on top of five primitives a service provides (SPEC section 3).
BaseSecretsProvider() - Constructor for class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Creates the provider.
baseUrl() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the base URL.
batchOptions() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the batchOptions object of a logging scenario.
bindSecretId(boolean) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Requires a secret id at login (server default true).
body() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns a copy of the body.
body() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns a copy of the body.
body(byte[], String) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Sets a raw body.
bool(String, String...) - Method in class codes.grow.packages.openbao.core.EnvReader
Reads a boolean (true/false/1/0/yes/no/on/off, case-insensitive).
build() - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Builds the settings.
build() - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Validates and builds the policy.
build() - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Builds the configuration.
build() - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Builds the request.
build() - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Builds the settings.
build() - Method in class codes.grow.packages.openbao.KvMetadataOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.LoginOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Builds the configuration and the client.
build() - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Builds and validates the configuration.
build() - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.RoleConfig.Builder
Builds the settings.
build() - Method in class codes.grow.packages.openbao.SecretIdOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.secrets.DeleteOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.secrets.GetOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Validates and builds the options.
build() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Builds the metadata.
build() - Method in class codes.grow.packages.openbao.secrets.SetOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.secrets.WatchOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.SecretsOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Builds the runner.
build() - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Builds the options.
builder() - Static method in class codes.grow.packages.openbao.AppRoleOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.core.RetryPolicy
Starts a builder with the defaults.
builder() - Static method in class codes.grow.packages.openbao.core.TlsOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.CreateKeyOptions
Starts a builder (default type aes256-gcm96).
builder() - Static method in class codes.grow.packages.openbao.CreateTokenOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.EnableOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.IssueOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.KeyConfig
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.KvMetadataOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.LoginOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.OpenBaoClient
Starts a client builder.
builder() - Static method in class codes.grow.packages.openbao.OpenBaoConfig
Starts an empty builder (every field at its default).
builder() - Static method in class codes.grow.packages.openbao.RenewalOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.SecretIdOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.secrets.DeleteOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.secrets.GetOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.secrets.LoadEnvOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.secrets.SecretCache.Options
Starts a builder with the defaults (ttl 60 s, 1000 entries, refresh ahead at 0.8, no stale serving).
builder() - Static method in class codes.grow.packages.openbao.secrets.SetOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.secrets.WatchOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.SecretsOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.testing.ConformanceRunner
Starts a builder with CoreOps and the built-in category operations registered.
builder() - Static method in class codes.grow.packages.openbao.TidyOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.openbao.TransitOptions
Starts a builder.
builder(String) - Static method in class codes.grow.packages.openbao.core.TransportConfig
Starts a builder with the SPEC defaults.
builder(String) - Static method in class codes.grow.packages.openbao.secrets.SecretMetadata
Starts a builder.
builder(String, String) - Static method in class codes.grow.packages.openbao.ConnectionConfig
Starts a builder.
builder(String, String) - Static method in class codes.grow.packages.openbao.core.TransportRequest
Starts a request.
builder(String, String...) - Static method in class codes.grow.packages.openbao.RoleConfig
Starts a builder.

C

caCertPath() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns the CA bundle path.
caCertPath(Path) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Trusts the CA certificates in a PEM file instead of the system trust store.
caCertPem() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns the inline CA bundle.
caCertPem(String) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Trusts the CA certificates in inline PEM text.
caChain() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the caChain record component.
caChain() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns the value of the caChain record component.
CacheStats - Record Class in codes.grow.packages.openbao.secrets
Counters of a SecretCache.
CacheStats(long, long, long, long, int) - Constructor for record class codes.grow.packages.openbao.secrets.CacheStats
Creates an instance of a CacheStats record class.
calls() - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
Returns how many primitive calls were made.
CANCELLED - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
The caller cancelled the operation.
CancelledException - Exception Class in codes.grow.packages.openbao.core
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
CancelledException(String) - Constructor for exception class codes.grow.packages.openbao.core.CancelledException
Creates the exception.
CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.CancelledException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.CancelledException
Creates the exception with response details.
CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.CancelledException
Creates the exception with a cause.
capabilities(String...) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Declares capabilities of the target (write, delete, versions, query, version, ...).
CAPABILITIES - Static variable in class codes.grow.packages.openbao.OpenBaoSecretsProvider
Capabilities for the conformance runner.
cas() - Method in class codes.grow.packages.openbao.secrets.SetOptions
Returns the check-and-set version: the write fails with ConflictException unless the current version matches (0 = must not exist).
cas(int) - Method in class codes.grow.packages.openbao.secrets.SetOptions.Builder
Sets the check-and-set version.
casRequired() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the casRequired record component.
casRequired(boolean) - Method in class codes.grow.packages.openbao.KvMetadataOptions.Builder
Requires cas on every write.
category() - Method in interface codes.grow.packages.openbao.testing.ConformanceOps
Returns the category these operations serve.
category() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns the value of the category record component.
category() - Method in class codes.grow.packages.openbao.testing.CoreOps
 
category() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the value of the category record component.
category() - Method in class codes.grow.packages.openbao.testing.secrets.SecretsOps
 
certificate() - Method in record class codes.grow.packages.openbao.CertificateInfo
Returns the value of the certificate record component.
certificate() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the certificate record component.
certificate() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns the value of the certificate record component.
CertificateInfo - Record Class in codes.grow.packages.openbao
A stored certificate (Pki.readCertificate(String)).
CertificateInfo(String, Optional<Instant>) - Constructor for record class codes.grow.packages.openbao.CertificateInfo
Creates an instance of a CertificateInfo record class.
certStoreDeletedCount() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns the value of the certStoreDeletedCount record component.
check(HttpTransport, String) - Static method in class codes.grow.packages.openbao.core.HealthCheck
Probes an endpoint once (no retries) and maps the outcome to a HealthStatus.
check(JsonNode, Object, Throwable) - Static method in class codes.grow.packages.openbao.testing.Expectations
Checks a step outcome.
checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.openbao.core.HealthCheck
cidrList(String...) - Method in class codes.grow.packages.openbao.SecretIdOptions.Builder
Restricts the secret id to CIDR blocks.
ciphertext() - Method in record class codes.grow.packages.openbao.Ciphertext
Returns the value of the ciphertext record component.
ciphertext() - Method in record class codes.grow.packages.openbao.DataKey
Returns the value of the ciphertext record component.
ciphertext() - Method in record class codes.grow.packages.openbao.DecryptBatchItem
Returns the value of the ciphertext record component.
ciphertext() - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Returns the value of the ciphertext record component.
Ciphertext - Record Class in codes.grow.packages.openbao
A transit ciphertext.
Ciphertext(String, int) - Constructor for record class codes.grow.packages.openbao.Ciphertext
Creates an instance of a Ciphertext record class.
clear() - Method in class codes.grow.packages.openbao.core.Secret
Overwrites the characters with zeros; later Secret.reveal() calls throw.
clear() - Method in class codes.grow.packages.openbao.secrets.SecretCache
Drops every entry.
clear() - Method in class codes.grow.packages.openbao.secrets.SecretValue
Overwrites the bytes with zeros; the value is unusable afterwards.
clientCertPath() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns the client certificate path.
clientCertPath(Path) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Sets the client certificate file (mutual TLS); requires a key.
clientCertPem(String) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Sets the client certificate as inline PEM.
clientKeyPath() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns the client key path.
clientKeyPath(Path) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Sets the client key file (unencrypted PKCS#8 PEM).
clientKeyPem(Secret) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Sets the client key as inline PEM.
clientToken() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the clientToken record component.
clock() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the clock used for Retry-After dates.
clock(Clock) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the clock (tests).
clock(Clock) - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Injects the clock (tests).
close() - Method in class codes.grow.packages.openbao.core.HttpTransport
Cancels pending calls and releases the client.
close() - Method in class codes.grow.packages.openbao.ManagedLease
Stops renewing and waits for the optional revocation.
close() - Method in class codes.grow.packages.openbao.OpenBaoClient
Stops token renewers, managed leases (revoking those with revokeOnStop) and secret watchers, then releases the transport.
close() - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
Stops watchers and detaches from the client.
close() - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Stops every watch; later calls raise CancelledException.
close() - Method in class codes.grow.packages.openbao.secrets.SecretCache
Clears the cache; later calls raise CancelledException.
close() - Method in class codes.grow.packages.openbao.secrets.Watcher
Stops every watch and the polling thread.
close() - Method in interface codes.grow.packages.openbao.secrets.WatchHandle
close() - Method in interface codes.grow.packages.openbao.testing.CoreTarget
Releases the target; idempotent.
close() - Method in class codes.grow.packages.openbao.TokenRenewer
Stops renewing.
clusterId() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the clusterId record component.
clusterId() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the clusterId record component.
clusterName() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the clusterName record component.
clusterName() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the clusterName record component.
code() - Method in exception class codes.grow.packages.openbao.core.OpenBaoException
Returns the canonical error code.
codes.grow.packages.openbao - package codes.grow.packages.openbao
Grow Codes SDK for OpenBao.
codes.grow.packages.openbao.core - package codes.grow.packages.openbao.core
 
codes.grow.packages.openbao.secrets - package codes.grow.packages.openbao.secrets
 
codes.grow.packages.openbao.testing - package codes.grow.packages.openbao.testing
 
codes.grow.packages.openbao.testing.secrets - package codes.grow.packages.openbao.testing.secrets
 
commonName(String) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets the common name (signCsr only; defaults to the CSR subject).
config() - Method in class codes.grow.packages.openbao.core.HttpTransport
Returns the configuration.
config() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the config record component.
config() - Method in class codes.grow.packages.openbao.OpenBaoClient
Returns the configuration.
CONFIG - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
Invalid or missing configuration.
ConfigException - Exception Class in codes.grow.packages.openbao.core
Invalid or missing configuration.
ConfigException(String) - Constructor for exception class codes.grow.packages.openbao.core.ConfigException
Creates the exception.
ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ConfigException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ConfigException
Creates the exception with response details.
ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ConfigException
Creates the exception with a cause.
configureConnection(String, ConnectionConfig) - Method in class codes.grow.packages.openbao.Database
Creates or replaces a connection: POST <mount>/config/<name> (verified by default; bad credentials raise ValidationException).
configureConnectionAsync(String, ConnectionConfig) - Method in class codes.grow.packages.openbao.Database
CONFLICT - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
HTTP 409, 412 or a check-and-set mismatch.
ConflictException - Exception Class in codes.grow.packages.openbao.core
Conflicting write or check-and-set mismatch (HTTP 409, 412).
ConflictException(String) - Constructor for exception class codes.grow.packages.openbao.core.ConflictException
Creates the exception.
ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ConflictException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ConflictException
Creates the exception with response details.
ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ConflictException
Creates the exception with a cause.
ConformanceOps - Interface in codes.grow.packages.openbao.testing
The operations of one scenario category (core, secrets, logging, tracing) for the ConformanceRunner.
ConformanceReport - Record Class in codes.grow.packages.openbao.testing
Results of a conformance run.
ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.openbao.testing.ConformanceReport
Creates a report; the list is copied.
ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.openbao.testing
Result of one scenario.
ConformanceReport.Status - Enum Class in codes.grow.packages.openbao.testing
Outcome of a scenario or step.
ConformanceReport.StepResult - Record Class in codes.grow.packages.openbao.testing
Result of one step.
ConformanceRunner - Class in codes.grow.packages.openbao.testing
Runs the shared conformance scenarios (conformance/scenarios/*.json, SPEC section 6) against targets supplied by a service's integration test.
ConformanceRunner.Builder - Class in codes.grow.packages.openbao.testing
Builder for ConformanceRunner.
ConnectionConfig - Class in codes.grow.packages.openbao
ConnectionConfig.Builder - Class in codes.grow.packages.openbao
Builder of ConnectionConfig.
connectionDetails() - Method in record class codes.grow.packages.openbao.ConnectionInfo
Returns the value of the connectionDetails record component.
ConnectionInfo - Record Class in codes.grow.packages.openbao
A database connection (without its password).
ConnectionInfo(String, List<String>, Map<String, String>) - Constructor for record class codes.grow.packages.openbao.ConnectionInfo
Creates the record; collections are copied.
connectTimeout() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the connection setup timeout.
connectTimeout() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the connect timeout (default 10 s).
contentType() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the body content type.
context() - Method in record class codes.grow.packages.openbao.DecryptBatchItem
Returns the value of the context record component.
context() - Method in record class codes.grow.packages.openbao.EncryptBatchItem
Returns the value of the context record component.
context(byte[]) - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Sets the key derivation context (derived keys).
CoreOps - Class in codes.grow.packages.openbao.testing
Conformance operations of the core category: health, ping, serverVersion, close.
CoreOps() - Constructor for class codes.grow.packages.openbao.testing.CoreOps
Creates the operations.
CoreTarget - Interface in codes.grow.packages.openbao.testing
A target of the core conformance category that is not the service client: a fake for unit tests of the runner, or an adapter for a client whose core methods differ.
count() - Method in class codes.grow.packages.openbao.testing.OpResult
Returns the explicit count.
create(OpenBaoConfig) - Static method in class codes.grow.packages.openbao.OpenBaoClient
Creates a client.
create(Scenario) - Method in interface codes.grow.packages.openbao.testing.TargetFactory
Creates or returns the target for one scenario.
createAppRole(String, AppRoleOptions) - Method in class codes.grow.packages.openbao.Sys
Creates or updates an AppRole role.
createAppRoleAsync(String, AppRoleOptions) - Method in class codes.grow.packages.openbao.Sys
createdAt() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the creation time.
createdAt(Instant) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Sets the creation time.
createdTime() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the createdTime record component.
createdTime() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns the value of the createdTime record component.
createKey(String) - Method in class codes.grow.packages.openbao.Transit
Creates an aes256-gcm96 key (idempotent: an existing key is returned unchanged).
createKey(String, CreateKeyOptions) - Method in class codes.grow.packages.openbao.Transit
Creates a key with options.
createKey(String, String) - Method in class codes.grow.packages.openbao.Transit
Creates a key of a type.
createKeyAsync(String, CreateKeyOptions) - Method in class codes.grow.packages.openbao.Transit
CreateKeyOptions - Class in codes.grow.packages.openbao
CreateKeyOptions.Builder - Class in codes.grow.packages.openbao
Builder of CreateKeyOptions.
createRole(String, RoleConfig) - Method in class codes.grow.packages.openbao.Database
Creates or replaces a dynamic role: POST <mount>/roles/<name>.
createRoleAsync(String, RoleConfig) - Method in class codes.grow.packages.openbao.Database
createToken(CreateTokenOptions) - Method in class codes.grow.packages.openbao.Auth
Creates a child (or orphan) token: POST auth/token/create[/<role>].
createTokenAsync(CreateTokenOptions) - Method in class codes.grow.packages.openbao.Auth
CreateTokenOptions - Class in codes.grow.packages.openbao
CreateTokenOptions.Builder - Class in codes.grow.packages.openbao
Builder of CreateTokenOptions.
creationPath() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns the value of the creationPath record component.
creationPath() - Method in record class codes.grow.packages.openbao.WrappingLookup
Returns the value of the creationPath record component.
creationStatements() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the creationStatements record component.
creationTime() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the creationTime record component.
creationTime() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns the value of the creationTime record component.
creationTime() - Method in record class codes.grow.packages.openbao.WrappingLookup
Returns the value of the creationTime record component.
creationTtl() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the creationTtl record component.
creationTtl() - Method in record class codes.grow.packages.openbao.WrappingLookup
Returns the value of the creationTtl record component.
credentialType() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the credentialType record component.
currentDeleted() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns whether the current version is soft-deleted or destroyed.
currentVersion() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the currentVersion record component.
customMetadata() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the customMetadata record component.
customMetadata() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns the value of the customMetadata record component.
customMetadata(Map<String, String>) - Method in class codes.grow.packages.openbao.KvMetadataOptions.Builder
Replaces the custom metadata.

D

data() - Method in record class codes.grow.packages.openbao.KvSecret
Returns the value of the data record component.
data() - Method in record class codes.grow.packages.openbao.Lease
Returns the value of the data record component.
data() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the data record component.
data() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns the value of the data record component.
database() - Method in class codes.grow.packages.openbao.OpenBaoClient
The database engine on mount database.
database(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
The database engine on a mount.
Database - Class in codes.grow.packages.openbao
Database secrets engine on one mount: client.database() (mount database).
DatabaseCredentials - Record Class in codes.grow.packages.openbao
Dynamic database credentials (GET database/creds/<role>).
DatabaseCredentials(String, Secret) - Constructor for record class codes.grow.packages.openbao.DatabaseCredentials
Creates an instance of a DatabaseCredentials record class.
DataKey - Record Class in codes.grow.packages.openbao
A data key generated by transit (transit/datakey/<plaintext|wrapped>/<name>).
DataKey(String, int, Optional<byte[]>) - Constructor for record class codes.grow.packages.openbao.DataKey
Creates an instance of a DataKey record class.
dbName() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the dbName record component.
debug(String) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at debug level without fields.
debug(String, Map<String, Object>) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at debug level.
decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.openbao.core.Json
Decodes JSON bytes into a generic type.
decode(byte[], Class<T>) - Static method in class codes.grow.packages.openbao.core.Json
Decodes JSON bytes into a type.
decrypt(String, String) - Method in class codes.grow.packages.openbao.Transit
Decrypts a ciphertext.
decrypt(String, String, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Decrypts a ciphertext with options.
decryptAsync(String, String, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
decryptBatch(String, List<DecryptBatchItem>) - Method in class codes.grow.packages.openbao.Transit
decryptBatchAsync(String, List<DecryptBatchItem>) - Method in class codes.grow.packages.openbao.Transit
DecryptBatchItem - Record Class in codes.grow.packages.openbao
DecryptBatchItem(String, byte[], String) - Constructor for record class codes.grow.packages.openbao.DecryptBatchItem
Creates an instance of a DecryptBatchItem record class.
DecryptBatchResult - Record Class in codes.grow.packages.openbao
DecryptBatchResult(Optional<byte[]>, Optional<String>, Optional<String>) - Constructor for record class codes.grow.packages.openbao.DecryptBatchResult
Creates an instance of a DecryptBatchResult record class.
deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.openbao.testing.Expectations
Deep JSON equality where objects in expected are matched as subsets and numbers compare by value (42 == 42.0).
DEFAULT_JWT_PATH - Static variable in class codes.grow.packages.openbao.KubernetesAuth
Default service account token path inside a pod.
DEFAULT_KV_MOUNT - Static variable in class codes.grow.packages.openbao.OpenBaoConfig
Default KV mount used by client.kv() and client.secrets().
DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.openbao.core.RetryPolicy
Default maximum number of retries (so up to 4 attempts).
DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.openbao.testing.ConformanceRunner
Pause between repeated steps.
DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.openbao.testing.ConformanceRunner
How long listServices steps are repeated until their expectation passes.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.openbao.core.EnvReader
Prefix of every variable of this SDK.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.openbao.testing.ConformanceRunner
Default value of ${prefix}.
DEFAULT_URL - Static variable in class codes.grow.packages.openbao.OpenBaoConfig
Default endpoint.
DEFAULT_VALUE_FIELD - Static variable in class codes.grow.packages.openbao.OpenBaoConfig
Default KV data field that holds a client.secrets() value.
defaultLeaseTtl(Duration) - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Sets the default lease TTL.
defaults() - Static method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the default policy: 3 retries, 100 ms initial, 10 s max, multiplier 2, Retry-After up to 60 s.
defaults() - Static method in class codes.grow.packages.openbao.core.TlsOptions
Returns options without any customisation (system trust store).
defaults() - Static method in class codes.grow.packages.openbao.CreateTokenOptions
Returns the empty options (child token with the parent's policies).
defaults() - Static method in class codes.grow.packages.openbao.LoginOptions
Returns the defaults: use the new token for the client, no automatic renewal.
defaults() - Static method in class codes.grow.packages.openbao.RenewalOptions
Returns the defaults.
defaults() - Static method in class codes.grow.packages.openbao.TidyOptions
Returns the defaults: tidy the store and revoked entries, wait up to 60 s.
defaultTtl() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the defaultTtl record component.
defaultTtl(Duration) - Method in class codes.grow.packages.openbao.RoleConfig.Builder
Sets the default lease TTL.
delete(String) - Static method in class codes.grow.packages.openbao.core.TransportRequest
Starts a DELETE request.
delete(String) - Method in interface codes.grow.packages.openbao.Kv
Deletes a secret (KV v2: soft-deletes the latest version).
delete(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Deletes a secret with default options.
delete(String, DeleteOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
 
delete(String, DeleteOptions) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
delete(String, DeleteOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Deletes a secret.
deleteAppRole(String) - Method in class codes.grow.packages.openbao.Sys
Deletes an AppRole role on mount approle.
deleteAppRole(String, String) - Method in class codes.grow.packages.openbao.Sys
Deletes an AppRole role.
deleteAppRoleAsync(String, String) - Method in class codes.grow.packages.openbao.Sys
deleteAsync(String) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous delete.
deleteAsync(String) - Method in class codes.grow.packages.openbao.KvMount
 
deleteAsync(String) - Method in class codes.grow.packages.openbao.KvV1
 
deleteAsync(String) - Method in class codes.grow.packages.openbao.KvV2
 
deleteAsync(String, DeleteOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
deleteConnection(String) - Method in class codes.grow.packages.openbao.Database
Deletes a connection.
deleteConnectionAsync(String) - Method in class codes.grow.packages.openbao.Database
deleted() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns whether the version is soft-deleted or destroyed.
deleteKey(String) - Method in class codes.grow.packages.openbao.Transit
Deletes a key (needs deletionAllowed, else ValidationException).
deleteKeyAsync(String) - Method in class codes.grow.packages.openbao.Transit
deleteMetadata(String) - Method in interface codes.grow.packages.openbao.Kv
Deletes all versions and the metadata of a secret (KV v2).
deleteMetadataAsync(String) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous deleteMetadata.
deleteMetadataAsync(String) - Method in class codes.grow.packages.openbao.KvMount
 
deleteMetadataAsync(String) - Method in class codes.grow.packages.openbao.KvV1
 
deleteMetadataAsync(String) - Method in class codes.grow.packages.openbao.KvV2
 
DeleteOptions - Class in codes.grow.packages.openbao.secrets
Options of delete: path, specific versions, permanent destruction.
DeleteOptions.Builder - Class in codes.grow.packages.openbao.secrets
Builder for DeleteOptions.
deletePolicy(String) - Method in class codes.grow.packages.openbao.Sys
Deletes an ACL policy.
deletePolicyAsync(String) - Method in class codes.grow.packages.openbao.Sys
deleteRole(String) - Method in class codes.grow.packages.openbao.Database
Deletes a role.
deleteRoleAsync(String) - Method in class codes.grow.packages.openbao.Database
deleteVersionAfter() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the deleteVersionAfter record component.
deleteVersionAfter(Duration) - Method in class codes.grow.packages.openbao.KvMetadataOptions.Builder
Deletes versions automatically after this delay.
deleteVersions(String, List<Integer>) - Method in interface codes.grow.packages.openbao.Kv
Soft-deletes versions (KV v2).
deleteVersionsAsync(String, List<Integer>) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous deleteVersions.
deleteVersionsAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvMount
 
deleteVersionsAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvV1
 
deleteVersionsAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvV2
 
deletionAllowed() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the deletionAllowed record component.
deletionAllowed(boolean) - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Allows deleteKey.
deletionTime() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns the value of the deletionTime record component.
derived() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the derived record component.
derived(boolean) - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Enables key derivation (requires a context on every call).
describe() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns a one-line description.
description() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the description record component.
description() - Method in class codes.grow.packages.openbao.secrets.SetOptions
Returns the description.
description() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the value of the description record component.
description(String) - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Sets the description.
description(String) - Method in class codes.grow.packages.openbao.secrets.SetOptions.Builder
Sets the description.
destroy(String, List<Integer>) - Method in interface codes.grow.packages.openbao.Kv
Permanently destroys versions (KV v2).
destroyAsync(String, List<Integer>) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous destroy.
destroyAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvMount
 
destroyAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvV1
 
destroyAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvV2
 
destroyed() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns the value of the destroyed record component.
details() - Method in record class codes.grow.packages.openbao.core.HealthStatus
Returns the value of the details record component.
disableAuthMethod(String) - Method in class codes.grow.packages.openbao.Sys
Disables an auth method; its tokens are revoked.
disableAuthMethodAsync(String) - Method in class codes.grow.packages.openbao.Sys
disableSecretsEngine(String) - Method in class codes.grow.packages.openbao.Sys
Disables (unmounts) a secrets engine; its data is deleted.
disableSecretsEngineAsync(String) - Method in class codes.grow.packages.openbao.Sys
displayName() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the displayName record component.
displayName(String) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Sets the display name.
duration() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the call duration including retries.
duration(String, String...) - Method in class codes.grow.packages.openbao.core.EnvReader
Reads a duration (integer milliseconds or Go-style units such as 1m30s).
durationMs() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns the value of the durationMs record component.
durationMs() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns the value of the durationMs record component.
dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.openbao.testing.JUnitConformance
Creates one dynamic test per selected scenario.

E

enableAuthMethod(String, String) - Method in class codes.grow.packages.openbao.Sys
Enables an auth method at path.
enableAuthMethod(String, String, EnableOptions) - Method in class codes.grow.packages.openbao.Sys
Enables an auth method with options.
enableAuthMethodAsync(String, String, EnableOptions) - Method in class codes.grow.packages.openbao.Sys
EnableOptions - Class in codes.grow.packages.openbao
EnableOptions.Builder - Class in codes.grow.packages.openbao
Builder of EnableOptions.
enableSecretsEngine(String, String) - Method in class codes.grow.packages.openbao.Sys
Enables a secrets engine at path.
enableSecretsEngine(String, String, EnableOptions) - Method in class codes.grow.packages.openbao.Sys
Enables a secrets engine with options.
enableSecretsEngineAsync(String, String, EnableOptions) - Method in class codes.grow.packages.openbao.Sys
encode(Object) - Static method in class codes.grow.packages.openbao.core.Json
Encodes a value as UTF-8 JSON.
encrypt(String, byte[], TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Encrypts bytes.
encrypt(String, String) - Method in class codes.grow.packages.openbao.Transit
Encrypts UTF-8 text.
encryptAsync(String, byte[], TransitOptions) - Method in class codes.grow.packages.openbao.Transit
encryptBatch(String, List<EncryptBatchItem>) - Method in class codes.grow.packages.openbao.Transit
Encrypts many items in one request.
encryptBatchAsync(String, List<EncryptBatchItem>) - Method in class codes.grow.packages.openbao.Transit
EncryptBatchItem - Record Class in codes.grow.packages.openbao
EncryptBatchItem(byte[], byte[], String) - Constructor for record class codes.grow.packages.openbao.EncryptBatchItem
Creates an instance of a EncryptBatchItem record class.
EncryptBatchResult - Record Class in codes.grow.packages.openbao
EncryptBatchResult(Optional<String>, OptionalInt, Optional<String>, Optional<String>) - Constructor for record class codes.grow.packages.openbao.EncryptBatchResult
Creates an instance of a EncryptBatchResult record class.
engine() - Method in class codes.grow.packages.openbao.KvMount
Returns the concrete engine (detects the version on first use).
engineAsync(String) - Method in class codes.grow.packages.openbao.KvMount
Asynchronous KvMount.engine().
ensureOpen(String) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Raises CancelledException once the provider is closed (SPEC: any call on a closed client raises CANCELLED).
entityId() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the entityId record component.
entityId() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the entityId record component.
EnvLoader - Class in codes.grow.packages.openbao.secrets
Implements loadEnv (SPEC section 3).
EnvLoader.Target - Interface in codes.grow.packages.openbao.secrets
Where variables are written.
envName(String, String) - Static method in class codes.grow.packages.openbao.secrets.EnvLoader
Derives a variable name: upper-cased, characters outside [A-Z0-9_] become _.
EnvReader - Class in codes.grow.packages.openbao.core
Reads configuration from environment variables (SPEC section 2.2).
EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.openbao.core.EnvReader
Creates a reader over an explicit environment map.
equals(Object) - Method in record class codes.grow.packages.openbao.AuthInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.CertificateInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.Ciphertext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.ConnectionInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.core.HealthStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.DatabaseCredentials
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.DataKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.DecryptBatchItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.DecryptBatchResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.EncryptBatchItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.HealthResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.IssuedCertificate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.KvMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.KvSecret
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.LeaderStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.Lease
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.LeaseInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.LeaseRenewal
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.MountInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.Policy
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.RawResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.RenewalEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.RevocationInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.RoleInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.SealStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.SecretIdInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class codes.grow.packages.openbao.secrets.GetOptions
 
equals(Object) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
 
equals(Object) - Method in record class codes.grow.packages.openbao.Signature
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.SignedCertificate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.testing.Scenario
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.TidyStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.TokenInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.TransitKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.UnwrapResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.WrapInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.openbao.WrappingLookup
Indicates whether some other object is "equal to" this one.
error() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns the value of the error record component.
error() - Method in record class codes.grow.packages.openbao.DecryptBatchResult
Returns the value of the error record component.
error() - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Returns the value of the error record component.
error() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns the value of the error record component.
error(String) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at error level without fields.
error(String, Map<String, Object>) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at error level.
ErrorCode - Enum Class in codes.grow.packages.openbao.core
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
ErrorInfo(String, String, OpenBaoException, int, boolean) - Constructor for record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Creates an instance of a ErrorInfo record class.
errorMapper() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the service error mapper.
errorMapper(ErrorMapper) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the service error mapper (see ErrorMapper).
ErrorMapper - Interface in codes.grow.packages.openbao.core
Service hook that replaces the error HttpTransport derived from a failed response, for vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says the request will never succeed).
errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.openbao.core.HttpTransport
Builds an error message "<operation>: <reason> (HTTP <status>)" with redacted, truncated vendor text.
evictions() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns the value of the evictions record component.
excludeCnFromSans(boolean) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Leaves the common name out of the SANs.
executor(Executor) - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Sets the executor of background refreshes (tests may pass Runnable::run).
exists(String) - Method in interface codes.grow.packages.openbao.secrets.EnvLoader.Target
Returns whether the variable already exists.
exists(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Returns whether a secret exists.
exists(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Returns whether a secret exists.
existsAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
expect() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns the value of the expect record component.
Expectations - Class in codes.grow.packages.openbao.testing
Evaluates the expect object of a scenario step (SPEC section 6).
expiration() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the expiration record component.
expiration() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns the value of the expiration record component.
expired() - Method in class codes.grow.packages.openbao.ManagedLease
Returns whether onExpire fired.
expired() - Method in class codes.grow.packages.openbao.TokenRenewer
Returns whether onExpire fired.
expiresAt() - Method in class codes.grow.packages.openbao.ManagedLease
Returns the expiry of the current lease.
expiresAt() - Method in class codes.grow.packages.openbao.TokenRenewer
Returns the expiry of the current token.
expireTime() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the expireTime record component.
expireTime() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the expireTime record component.
explicitMaxTtl() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the explicitMaxTtl record component.
explicitMaxTtl(Duration) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Sets the explicit maximum TTL.
exportable() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the exportable record component.
exportable(boolean) - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Allows key export.
exportable(boolean) - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Allows key export (cannot be undone).
extra() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns vendor-specific extra fields.
extra(String, Object) - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Adds a plugin-specific field (e.g.
extra(String, String) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Adds an extra vendor field.

F

FAILED - Enum constant in enum class codes.grow.packages.openbao.testing.ConformanceReport.Status
An expectation failed or the step raised an unexpected error.
failNext(RuntimeException) - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
Makes the next primitive call throw this error (failure injection for tests).
fetchMetadata(String, GetOptions) - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
 
fetchMetadata(String, GetOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Reads metadata.
fetchMetadata(String, GetOptions) - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
 
fetchSecret(String, GetOptions) - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
 
fetchSecret(String, GetOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Reads one secret.
fetchSecret(String, GetOptions) - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
 
format(String) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets the output format: pem (default), der or pem_bundle.
forStatus(int) - Static method in enum class codes.grow.packages.openbao.core.ErrorCode
Maps an HTTP status to its canonical code.
from(JsonNode) - Static method in record class codes.grow.packages.openbao.HealthResponse
Converts a raw sys/health body.
from(JsonNode) - Static method in record class codes.grow.packages.openbao.SealStatus
Converts a raw seal-status body.
fromEnv() - Static method in class codes.grow.packages.openbao.OpenBaoClient
Creates a client from the SDK and vendor environment variables (GROW_OPENBAO_*, BAO_*, VAULT_*).
fromEnv() - Static method in class codes.grow.packages.openbao.OpenBaoConfig
Reads the configuration from the process environment.
fromEnv(EnvReader) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Fills unset fields from an environment reader.
fromEnv(EnvReader) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Fills every field that was not set explicitly from the environment.
fromEnv(Map<String, String>) - Static method in class codes.grow.packages.openbao.OpenBaoConfig
Reads the configuration from an explicit variable map (tests).
fromError(OpenBaoException) - Static method in class codes.grow.packages.openbao.core.HealthCheck
Maps a transport error to unreachable.
fromResponse(TransportResponse) - Static method in class codes.grow.packages.openbao.core.HealthCheck
Maps a health response: 2xx is healthy; the word comes from a JSON status field ( ok / unhealthy when absent); other string fields become details.
fullPath(String, String) - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
Returns the KV path of a secret: <path or provider path>/<name>.

G

generateDataKey(String) - Method in class codes.grow.packages.openbao.Transit
Generates a 256-bit data key encrypted with the transit key, plus its plaintext.
generateDataKey(String, boolean, int) - Method in class codes.grow.packages.openbao.Transit
Generates a data key.
generateDataKeyAsync(String, boolean, int, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Asynchronous Transit.generateDataKey(String, boolean, int) (options: context).
generateSecretId(String) - Method in class codes.grow.packages.openbao.Sys
Generates a new secret id for an AppRole role on mount approle.
generateSecretId(String, SecretIdOptions) - Method in class codes.grow.packages.openbao.Sys
Generates a new secret id with options.
generateSecretIdAsync(String, SecretIdOptions) - Method in class codes.grow.packages.openbao.Sys
get(String) - Static method in class codes.grow.packages.openbao.core.TransportRequest
Starts a GET request.
get(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads the latest version of a secret.
get(String, GetOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
 
get(String, GetOptions) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
get(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret.
getAll(String) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Returns the secrets directly under path: names whose remainder after the path holds no further /.
getAll(String) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
getAll(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Returns every secret directly under path (not recursive), sorted by name.
getAllAsync(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
getAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
getBool(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as a boolean.
getBool(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as a boolean (true/false/1/0/yes/no/on/off, case-insensitive).
getBoolAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
getCredentials(String) - Method in class codes.grow.packages.openbao.Database
Generates credentials for a role: GET <mount>/creds/<role>.
getCredentialsAsync(String) - Method in class codes.grow.packages.openbao.Database
getJson(String, TypeReference<T>, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as JSON into a generic type.
getJson(String, Class<T>) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as JSON.
getJson(String, Class<T>, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as JSON.
getJsonAsync(String, Class<T>, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
getMany(List<String>) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads several secrets.
getMany(List<String>, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads several secrets; missing names are omitted, order follows the request.
getManyAsync(List<String>, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
getNumber(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as a number.
getNumber(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as a number (JSON number syntax, surrounding whitespace ignored).
getNumberAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
GetOptions - Class in codes.grow.packages.openbao.secrets
Options of read operations: a specific version and/or path.
GetOptions.Builder - Class in codes.grow.packages.openbao.secrets
Builder for GetOptions.
getString(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as UTF-8 text.
getString(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret as UTF-8 text.
getStringAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider

H

haEnabled() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns the value of the haEnabled record component.
hash(byte[]) - Method in class codes.grow.packages.openbao.Transit
SHA2-256 hash of the input, hex encoded.
hash(byte[], String, String) - Method in class codes.grow.packages.openbao.Transit
Hash of the input.
hashAlgorithm(String) - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Sets the hash algorithm, e.g.
hashAsync(byte[], String, String) - Method in class codes.grow.packages.openbao.Transit
hashCode() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.CertificateInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.Ciphertext
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.ConnectionInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.core.HealthStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.DatabaseCredentials
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.DataKey
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.DecryptBatchItem
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.DecryptBatchResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.EncryptBatchItem
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.KvSecret
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.Lease
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.LeaseRenewal
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.MountInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.Policy
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.RawResponse
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.RevocationInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.SealStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.SecretIdInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns a hash code value for this object.
hashCode() - Method in class codes.grow.packages.openbao.secrets.GetOptions
 
hashCode() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
 
hashCode() - Method in record class codes.grow.packages.openbao.Signature
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.TransitKey
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.openbao.WrappingLookup
Returns a hash code value for this object.
header(String) - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the first value of a header.
header(String, String) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Sets a header.
header(String, String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Adds a header.
header(String, String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Adds a header sent with every request.
headers() - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Returns the value of the headers record component.
headers() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the extra headers sent with every request.
headers() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the request headers.
headers() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the response headers (case-insensitive keys).
headers() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the extra request headers.
headers(Map<String, String>) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Adds headers sent with every request.
health() - Method in class codes.grow.packages.openbao.OpenBaoClient
Unauthenticated health (GET /v1/sys/health, answers 200 in every node state).
health() - Method in class codes.grow.packages.openbao.Sys
GET sys/health (unauthenticated).
health() - Method in interface codes.grow.packages.openbao.testing.CoreTarget
Checks liveness; never throws for an unhealthy service.
healthAsync() - Method in class codes.grow.packages.openbao.OpenBaoClient
healthAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.health().
HealthCheck - Class in codes.grow.packages.openbao.core
Implements the health() contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only for CancelledException and ConfigException.
HealthResponse - Record Class in codes.grow.packages.openbao
Node health (GET sys/health).
HealthResponse(String, boolean, boolean, boolean, boolean, String, String, String, Optional<Instant>) - Constructor for record class codes.grow.packages.openbao.HealthResponse
Creates an instance of a HealthResponse record class.
HealthStatus - Record Class in codes.grow.packages.openbao.core
Result of health() (SPEC section 2.4).
HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.openbao.core.HealthStatus
Creates a status; details are copied.
healthy() - Method in record class codes.grow.packages.openbao.core.HealthStatus
Returns the value of the healthy record component.
hits() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns the value of the hits record component.
hmac(String, byte[]) - Method in class codes.grow.packages.openbao.Transit
HMAC of the input with the key (vault:v<n>:<base64>).
hmac(String, byte[], TransitOptions) - Method in class codes.grow.packages.openbao.Transit
HMAC with options (hash algorithm, key version).
hmacAsync(String, byte[], TransitOptions) - Method in class codes.grow.packages.openbao.Transit
hooks() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the hooks.
hooks() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the hooks.
hooks(Hooks) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the hooks.
hooks(Hooks) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets hooks.
hooks(Hooks) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets request hooks.
Hooks - Interface in codes.grow.packages.openbao.core
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
Hooks.ErrorInfo - Record Class in codes.grow.packages.openbao.core
Hooks.RequestInfo - Record Class in codes.grow.packages.openbao.core
Hooks.ResponseInfo - Record Class in codes.grow.packages.openbao.core
httpStatus() - Method in exception class codes.grow.packages.openbao.core.OpenBaoException
Returns the HTTP status when the error came from a response.
HttpTransport - Class in codes.grow.packages.openbao.core
The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on HttpClient.
HttpTransport(TransportConfig) - Constructor for class codes.grow.packages.openbao.core.HttpTransport
Creates a transport.

I

id() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the id record component.
idempotent() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns whether the request may be replayed after an uncertain send.
idempotent(boolean) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Marks the request idempotent (or not), overriding the method default.
increment() - Method in class codes.grow.packages.openbao.RenewalOptions
Returns the TTL requested on each renewal.
increment(Duration) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the TTL requested on each renewal.
index() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Returns the value of the index record component.
info(String) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at info level without fields.
info(String, Map<String, Object>) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at info level.
init(OpenBaoClient, int, int) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Initialises a new Shamir-sealed server (PUT sys/init).
initialBackoff() - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the backoff cap for the first retry.
initialBackoff(Duration) - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Sets the backoff cap of the first retry.
initialized() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the initialized record component.
initialized() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the initialized record component.
initRecovery(OpenBaoClient, int, int) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Initialises a server with an auto-unseal (static/KMS) seal using recovery shares.
InitResult(List<Secret>, List<Secret>, List<Secret>, List<Secret>, Secret) - Constructor for record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Creates the record; lists are copied.
initStatus(OpenBaoClient) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Whether the server is initialised: GET sys/init.
InMemorySecretsProvider - Class in codes.grow.packages.openbao.testing.secrets
Thread-safe in-memory SecretsProvider with versions ("1", "2", ...), check-and-set, tags and soft/permanent deletes.
InMemorySecretsProvider() - Constructor for class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
Creates an empty provider using the system clock.
InMemorySecretsProvider(Clock) - Constructor for class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
Creates an empty provider.
insecureSkipVerify() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns whether certificate and host name verification is disabled (tests only).
insecureSkipVerify(boolean) - Method in class codes.grow.packages.openbao.core.TlsOptions.Builder
Disables certificate and host name verification.
integer(String, String...) - Method in class codes.grow.packages.openbao.core.EnvReader
Reads an integer.
interval(Duration) - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Sets the poll interval (default 500 ms).
invalidate(String) - Method in class codes.grow.packages.openbao.secrets.SecretCache
Drops every cached entry of a name (all versions and paths).
ipSans(String...) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets IP subject alternative names.
isCleared() - Method in class codes.grow.packages.openbao.core.Secret
Returns whether Secret.clear() was called.
isClosed() - Method in class codes.grow.packages.openbao.core.HttpTransport
Returns whether HttpTransport.close() was called.
isClosed() - Method in class codes.grow.packages.openbao.OpenBaoClient
Returns whether OpenBaoClient.close() was called.
isClosed() - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Returns whether BaseSecretsProvider.close() was called.
isCustom() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns whether any option differs from the system defaults.
isEmpty() - Method in class codes.grow.packages.openbao.core.Secret
Returns whether the value is empty.
isSelf() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns the value of the isSelf record component.
isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.openbao.core.Redaction
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
isSensitiveHeader(String) - Static method in class codes.grow.packages.openbao.core.Redaction
Returns whether a header name is sensitive (case-insensitive).
isStopped() - Method in interface codes.grow.packages.openbao.secrets.WatchHandle
Returns whether WatchHandle.stop() was called.
issueCertificate(String, String) - Method in class codes.grow.packages.openbao.Pki
Issues a certificate and private key for a role.
issueCertificate(String, String, IssueOptions) - Method in class codes.grow.packages.openbao.Pki
Issues a certificate and private key: POST <mount>/issue/<role>.
issueCertificateAsync(String, String, IssueOptions) - Method in class codes.grow.packages.openbao.Pki
IssuedCertificate - Record Class in codes.grow.packages.openbao
A certificate and private key issued by the PKI engine (Pki.issueCertificate(java.lang.String, java.lang.String)).
IssuedCertificate(String, String, List<String>, String, Optional<Instant>, Secret, String) - Constructor for record class codes.grow.packages.openbao.IssuedCertificate
Creates the record; the chain is copied.
IssueOptions - Class in codes.grow.packages.openbao
IssueOptions.Builder - Class in codes.grow.packages.openbao
Builder of IssueOptions.
issueTime() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the issueTime record component.
issueTime() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the issueTime record component.
issuingCa() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the issuingCa record component.
issuingCa() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns the value of the issuingCa record component.

J

json(TypeReference<T>) - Method in class codes.grow.packages.openbao.core.TransportResponse
Decodes the JSON body into a generic type.
json(TypeReference<T>) - Method in class codes.grow.packages.openbao.secrets.SecretValue
Decodes the value as JSON into a generic type.
json(Class<T>) - Method in class codes.grow.packages.openbao.core.TransportResponse
Decodes the JSON body.
json(Class<T>) - Method in class codes.grow.packages.openbao.secrets.SecretValue
Decodes the value as JSON.
json(Object) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Sets a JSON body encoded with Jackson.
Json - Class in codes.grow.packages.openbao.core
Shared Jackson configuration of the SDK.
jsonNode() - Method in class codes.grow.packages.openbao.core.TransportResponse
Parses the JSON body into a tree.
jsonNode() - Method in class codes.grow.packages.openbao.secrets.SecretValue
Parses the value as a JSON tree.
JUnitConformance - Class in codes.grow.packages.openbao.testing
JUnit 5 adapter: one dynamic test per scenario.
JwtAuth - Class in codes.grow.packages.openbao
JWT/OIDC login with a JWT: POST auth/<mount>/login {role, jwt}.
JwtAuth(String, Secret, String) - Constructor for class codes.grow.packages.openbao.JwtAuth
Creates the method.
JwtAuth(String, String) - Constructor for class codes.grow.packages.openbao.JwtAuth
Creates the method on mount jwt.
jwtPath() - Method in class codes.grow.packages.openbao.KubernetesAuth
Returns the service account token path.

K

KEY - Static variable in class codes.grow.packages.openbao.core.SdkInfo
Catalog key of the service, e.g.
KeyConfig - Class in codes.grow.packages.openbao
Settings of Transit.updateKeyConfig(String, KeyConfig); unset fields stay unchanged.
KeyConfig.Builder - Class in codes.grow.packages.openbao
Builder of KeyConfig.
keys() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns the value of the keys record component.
keys() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the keys record component.
keysBase64() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns the value of the keysBase64 record component.
keySize(int) - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Sets the key size (HMAC keys).
keyVersion() - Method in record class codes.grow.packages.openbao.Ciphertext
Returns the value of the keyVersion record component.
keyVersion() - Method in record class codes.grow.packages.openbao.DataKey
Returns the value of the keyVersion record component.
keyVersion() - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Returns the value of the keyVersion record component.
keyVersion() - Method in record class codes.grow.packages.openbao.Signature
Returns the value of the keyVersion record component.
keyVersion(int) - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Uses a specific key version.
knownSecrets() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the secret values removed from every error message, hook and log line.
knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the supplier of secret values to redact from errors, hooks and logs.
KubernetesAuth - Class in codes.grow.packages.openbao
Kubernetes login: POST auth/<mount>/login {role, jwt} with the service account token read from jwtPath (default "/var/run/secrets/kubernetes.io/serviceaccount/token") at login time.
KubernetesAuth(String) - Constructor for class codes.grow.packages.openbao.KubernetesAuth
Creates the method on mount kubernetes with the default token path.
KubernetesAuth(String, String) - Constructor for class codes.grow.packages.openbao.KubernetesAuth
Creates the method on mount kubernetes.
KubernetesAuth(String, Path, String) - Constructor for class codes.grow.packages.openbao.KubernetesAuth
Creates the method.
kv() - Method in class codes.grow.packages.openbao.OpenBaoClient
The default KV mount (OpenBaoConfig.kvMount()) with auto-detected version.
kv() - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
Returns the KV mount.
kv(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
A KV mount with auto-detected version; the same instance is returned for the same mount.
Kv - Interface in codes.grow.packages.openbao
Operations of a KV secrets engine mount (KvV1, KvV2 or the auto-detecting KvMount).
KvMetadata - Record Class in codes.grow.packages.openbao
Metadata of a KV v2 secret (GET <mount>/metadata/<path>).
KvMetadata(boolean, Optional<Instant>, Optional<Instant>, int, int, int, Duration, Map<String, String>, Map<Integer, KvVersionMetadata>) - Constructor for record class codes.grow.packages.openbao.KvMetadata
Creates the record; maps are copied.
KvMetadataOptions - Class in codes.grow.packages.openbao
KvMetadataOptions.Builder - Class in codes.grow.packages.openbao
Builder of KvMetadataOptions.
kvMount() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the default KV mount (default secret).
kvMount(String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the default KV mount.
kvMount(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the default KV mount (default secret).
KvMount - Class in codes.grow.packages.openbao
A KV mount whose version is detected on first use (GET sys/internal/ui/mounts/<mount>) or taken from OpenBaoConfig.kvVersion(), then delegates to KvV1 or KvV2.
KvSecret - Record Class in codes.grow.packages.openbao
A KV secret: its data map (any JSON values) and, on KV v2, the version metadata.
KvSecret(Map<String, Object>, Optional<KvVersionMetadata>) - Constructor for record class codes.grow.packages.openbao.KvSecret
Creates the record; the data map is copied (null values allowed).
kvV1(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
A KV version 1 mount (no detection).
KvV1 - Class in codes.grow.packages.openbao
KV version 1 (unversioned) mount.
kvV2(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
A KV version 2 mount (no detection).
KvV2 - Class in codes.grow.packages.openbao
KV version 2 (versioned) mount.
kvVersion() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the fixed KV version that skips auto-detection.
kvVersion(int) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Fixes the KV version (skips auto-detection).
kvVersion(int) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Fixes the KV version of every mount and skips auto-detection ( sys/internal/ui/mounts); set it for tokens that cannot read the preflight endpoint.
KvVersionMetadata - Record Class in codes.grow.packages.openbao
Metadata of one KV v2 version.
KvVersionMetadata(int, Optional<Instant>, Optional<Instant>, boolean, Map<String, String>) - Constructor for record class codes.grow.packages.openbao.KvVersionMetadata
Creates the record; the map is copied.

L

LANGUAGE - Static variable in class codes.grow.packages.openbao.core.SdkInfo
Language token in the User-Agent.
lastRenewal() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the lastRenewal record component.
latestVersion() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the latestVersion record component.
leader() - Method in class codes.grow.packages.openbao.Sys
GET sys/leader (unauthenticated).
leaderAddress() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns the value of the leaderAddress record component.
leaderAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.leader().
leaderClusterAddress() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns the value of the leaderClusterAddress record component.
LeaderStatus - Record Class in codes.grow.packages.openbao
Leader status (GET sys/leader).
LeaderStatus(boolean, boolean, Optional<Instant>, String, String) - Constructor for record class codes.grow.packages.openbao.LeaderStatus
Creates an instance of a LeaderStatus record class.
Lease<T> - Record Class in codes.grow.packages.openbao
A secret with a lease (for example dynamic database credentials).
Lease(String, Duration, boolean, T, List<String>) - Constructor for record class codes.grow.packages.openbao.Lease
Creates the record; the warnings are copied.
leaseDuration() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the leaseDuration record component.
leaseDuration() - Method in record class codes.grow.packages.openbao.Lease
Returns the value of the leaseDuration record component.
leaseDuration() - Method in record class codes.grow.packages.openbao.LeaseRenewal
Returns the value of the leaseDuration record component.
leaseDuration() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the leaseDuration record component.
leaseDuration() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns the value of the leaseDuration record component.
leaseId() - Method in record class codes.grow.packages.openbao.Lease
Returns the value of the leaseId record component.
leaseId() - Method in record class codes.grow.packages.openbao.LeaseRenewal
Returns the value of the leaseId record component.
leaseId() - Method in class codes.grow.packages.openbao.ManagedLease
Returns the lease id.
leaseId() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the leaseId record component.
leaseId() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns the value of the leaseId record component.
leaseId() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns the value of the leaseId record component.
LeaseInfo - Record Class in codes.grow.packages.openbao
Lease details (PUT sys/leases/lookup).
LeaseInfo(String, String, Optional<Instant>, Optional<Instant>, Optional<Instant>, boolean, Duration) - Constructor for record class codes.grow.packages.openbao.LeaseInfo
Creates an instance of a LeaseInfo record class.
LeaseManager - Class in codes.grow.packages.openbao
Lease operations and automatic renewal: client.leases().
LeaseRenewal - Record Class in codes.grow.packages.openbao
LeaseRenewal(String, Duration, boolean, List<String>) - Constructor for record class codes.grow.packages.openbao.LeaseRenewal
Creates the record; the warnings are copied.
leases() - Method in class codes.grow.packages.openbao.OpenBaoClient
Lease renew / revoke / lookup and automatic lease renewal.
list() - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Lists every secret at the root.
list(String) - Method in interface codes.grow.packages.openbao.Kv
Lists the keys of a folder (sorted; sub-folders end in /); empty when missing.
list(String) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
 
list(String) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
list(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Lists secrets (names and metadata, never values) sorted by name.
list(String, String, Integer) - Method in interface codes.grow.packages.openbao.Kv
Lists one page of keys (KV v2 honours after and limit).
LIST_METADATA_CONCURRENCY - Static variable in class codes.grow.packages.openbao.OpenBaoSecretsProvider
Parallel metadata reads in list().
listAppRoles() - Method in class codes.grow.packages.openbao.Sys
AppRole role names on mount approle; empty when there is none.
listAppRoles(String) - Method in class codes.grow.packages.openbao.Sys
AppRole role names on a mount.
listAppRolesAsync(String) - Method in class codes.grow.packages.openbao.Sys
listAsync(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
listAsync(String, String, Integer) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous list.
listAsync(String, String, Integer) - Method in class codes.grow.packages.openbao.KvMount
 
listAsync(String, String, Integer) - Method in class codes.grow.packages.openbao.KvV1
 
listAsync(String, String, Integer) - Method in class codes.grow.packages.openbao.KvV2
 
listAuthMethods() - Method in class codes.grow.packages.openbao.Sys
Auth methods by path ("approle/" to info).
listAuthMethodsAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.listAuthMethods().
listCertificates() - Method in class codes.grow.packages.openbao.Pki
Serials of all stored certificates; empty when there is none.
listCertificatesAsync() - Method in class codes.grow.packages.openbao.Pki
listKeys() - Method in class codes.grow.packages.openbao.Transit
Key names (sorted); empty when there is none.
listKeys(String, Integer) - Method in class codes.grow.packages.openbao.Transit
One page of key names.
listKeysAsync(String, Integer) - Method in class codes.grow.packages.openbao.Transit
listMounts() - Method in class codes.grow.packages.openbao.Sys
Secrets engines by path ("secret/" to info).
listMountsAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.listMounts().
listPolicies() - Method in class codes.grow.packages.openbao.Sys
ACL policy names (includes default and root).
listPoliciesAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.listPolicies().
listSecrets(String) - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
 
listSecrets(String) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Lists secrets under a prefix or folder (order does not matter; the base class sorts).
listSecrets(String) - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
 
loadEnv(String, LoadEnvOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Sets one variable per secret directly under path.
loadEnv(Map<String, String>, LoadEnvOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Sets each variable from its secret (envName → secretName).
LoadEnvOptions - Class in codes.grow.packages.openbao.secrets
Options of loadEnv: overwrite existing variables and a name prefix.
LoadEnvOptions.Builder - Class in codes.grow.packages.openbao.secrets
Builder for LoadEnvOptions.
local() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the local record component.
local(boolean) - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Makes the mount local (not replicated).
logger() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the logger.
logger() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the logger.
logger(Logger) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the logger (default silent).
Logger - Interface in codes.grow.packages.openbao.core
Minimal logger used by the transport (SPEC section 2.5).
login(AuthMethod) - Method in class codes.grow.packages.openbao.Auth
Logs in with an auth method and uses the new token for this client.
login(AuthMethod, LoginOptions) - Method in class codes.grow.packages.openbao.Auth
Logs in with options (keep the current token, automatic renewal).
login(LoginContext) - Method in class codes.grow.packages.openbao.AppRoleAuth
 
login(LoginContext) - Method in interface codes.grow.packages.openbao.AuthMethod
Performs the login.
login(LoginContext) - Method in class codes.grow.packages.openbao.JwtAuth
 
login(LoginContext) - Method in class codes.grow.packages.openbao.KubernetesAuth
 
login(LoginContext) - Method in class codes.grow.packages.openbao.TokenAuth
 
login(LoginContext) - Method in class codes.grow.packages.openbao.UserpassAuth
 
loginAsync(AuthMethod) - Method in class codes.grow.packages.openbao.Auth
loginAsync(AuthMethod, LoginOptions) - Method in class codes.grow.packages.openbao.Auth
LoginContext - Interface in codes.grow.packages.openbao
What an AuthMethod can do during a login (no client token is sent).
LoginOptions - Class in codes.grow.packages.openbao
LoginOptions.Builder - Class in codes.grow.packages.openbao
Builder of LoginOptions.
lookup(Secret) - Method in interface codes.grow.packages.openbao.LoginContext
Looks up a token (auth/token/lookup-self with that token).
lookup(String) - Method in class codes.grow.packages.openbao.LeaseManager
Lease details: PUT sys/leases/lookup.
lookupAsync(String) - Method in class codes.grow.packages.openbao.LeaseManager
lookupSelf() - Method in class codes.grow.packages.openbao.Auth
Properties of the client token: GET auth/token/lookup-self.
lookupSelfAsync() - Method in class codes.grow.packages.openbao.Auth
Asynchronous Auth.lookupSelf().
lookupWrapping(Secret) - Method in class codes.grow.packages.openbao.Wrapping
Properties of a wrapping token without using it: POST sys/wrapping/lookup.
lookupWrapping(String) - Method in class codes.grow.packages.openbao.Wrapping
Properties of a wrapping token given as text.
lookupWrappingAsync(Secret) - Method in class codes.grow.packages.openbao.Wrapping

M

manage(Lease<?>, RenewalOptions) - Method in class codes.grow.packages.openbao.LeaseManager
Keeps a lease alive: renews at 2/3 of its TTL until the maximum TTL is reached, then calls onExpire once when it expires.
ManagedLease - Class in codes.grow.packages.openbao
Handle of a lease kept alive by LeaseManager.manage(Lease, RenewalOptions).
map(TransportResponse, OpenBaoException) - Method in interface codes.grow.packages.openbao.core.ErrorMapper
Maps a failed response.
map(Map<String, String>) - Static method in class codes.grow.packages.openbao.secrets.EnvLoader
Returns a target that writes into a map (tests, custom configuration).
mapper() - Static method in class codes.grow.packages.openbao.core.Json
Returns the shared mapper.
MAX_VENDOR_TEXT - Static variable in class codes.grow.packages.openbao.core.Redaction
Maximum length of vendor error text kept in error messages.
maxBackoff() - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the upper bound of any backoff.
maxBackoff(Duration) - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Sets the upper bound of every backoff.
maxEntries() - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options
Returns the maximum number of entries.
maxEntries(int) - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Sets the LRU limit.
maxLeaseTtl(Duration) - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Sets the maximum lease TTL.
maxRetries() - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the maximum number of retries after the first attempt.
maxRetries() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the retry limit override.
maxRetries(int) - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Sets the maximum number of retries.
maxRetries(int) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Overrides the retry limit for this call.
maxRetryAfter() - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the longest Retry-After wait the client accepts.
maxRetryAfter(Duration) - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Sets the longest accepted Retry-After.
maxTtl() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the maxTtl record component.
maxTtl(Duration) - Method in class codes.grow.packages.openbao.RoleConfig.Builder
Sets the maximum lease TTL.
maxVersions() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the maxVersions record component.
maxVersions(int) - Method in class codes.grow.packages.openbao.KvMetadataOptions.Builder
Sets the maximum number of versions kept.
message() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Returns the value of the message record component.
meta() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the meta record component.
meta(String, String) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Adds a metadata entry.
metadata() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the metadata record component.
metadata() - Method in record class codes.grow.packages.openbao.KvSecret
Returns the value of the metadata record component.
metadata(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads the latest metadata of a secret.
metadata(String, GetOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
 
metadata(String, GetOptions) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
metadata(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret's metadata.
metadata(String, String) - Method in class codes.grow.packages.openbao.SecretIdOptions.Builder
Adds a metadata entry (attached to tokens issued with this secret id).
metadataAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
method() - Method in class codes.grow.packages.openbao.AppRoleAuth
 
method() - Method in interface codes.grow.packages.openbao.AuthMethod
Returns the method name, e.g.
method() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns the value of the method record component.
method() - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Returns the value of the method record component.
method() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns the value of the method record component.
method() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the HTTP method.
method() - Method in class codes.grow.packages.openbao.JwtAuth
 
method() - Method in class codes.grow.packages.openbao.KubernetesAuth
 
method() - Method in class codes.grow.packages.openbao.TokenAuth
 
method() - Method in class codes.grow.packages.openbao.UserpassAuth
 
minAvailableVersion() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the minAvailableVersion record component.
minDecryptionVersion() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the minDecryptionVersion record component.
minDecryptionVersion(int) - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Sets the minimum version allowed for decryption.
minDelay() - Method in class codes.grow.packages.openbao.RenewalOptions
Returns the minimum delay between two renewals.
minDelay(Duration) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the minimum delay between renewals (default 500 ms).
minEncryptionVersion() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the minEncryptionVersion record component.
minEncryptionVersion(int) - Method in class codes.grow.packages.openbao.KeyConfig.Builder
Sets the minimum version used for encryption (0 = latest).
misses() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns the value of the misses record component.
mount() - Method in class codes.grow.packages.openbao.AppRoleAuth
Returns the mount.
mount() - Method in class codes.grow.packages.openbao.Database
Returns the mount.
mount() - Method in interface codes.grow.packages.openbao.Kv
Returns the mount path.
mount() - Method in class codes.grow.packages.openbao.KvMount
 
mount() - Method in class codes.grow.packages.openbao.KvV1
 
mount() - Method in class codes.grow.packages.openbao.KvV2
 
mount() - Method in class codes.grow.packages.openbao.Pki
Returns the mount.
mount() - Method in class codes.grow.packages.openbao.Transit
Returns the mount.
mount(String) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the AppRole mount (default approle).
mount(String) - Method in class codes.grow.packages.openbao.SecretIdOptions.Builder
Sets the AppRole mount (default approle).
mount(String) - Method in class codes.grow.packages.openbao.SecretsOptions.Builder
Sets the KV mount (default OpenBaoConfig.kvMount(), i.e.
MountInfo - Record Class in codes.grow.packages.openbao
A secrets engine or auth method mount.
MountInfo(String, String, String, Map<String, String>, Map<String, String>, boolean, boolean) - Constructor for record class codes.grow.packages.openbao.MountInfo
Creates the record; maps are copied.
multiplier() - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns the exponential growth factor.
multiplier(double) - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Sets the exponential growth factor.

N

name() - Method in record class codes.grow.packages.openbao.Policy
Returns the value of the name record component.
name() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the full secret name.
name() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the name record component.
namespace() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the namespace sent as X-Vault-Namespace.
namespace(String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the namespace (X-Vault-Namespace).
namespace(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the namespace sent as X-Vault-Namespace (env GROW_OPENBAO_NAMESPACE, BAO_NAMESPACE, VAULT_NAMESPACE).
noDefaultPolicy(boolean) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Leaves out the default policy.
nonce() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the nonce record component.
none() - Static method in class codes.grow.packages.openbao.AppRoleOptions
Returns the empty options (mount approle).
none() - Static method in class codes.grow.packages.openbao.core.RetryPolicy
Returns a policy that never retries.
none() - Static method in class codes.grow.packages.openbao.EnableOptions
Returns the empty options.
none() - Static method in class codes.grow.packages.openbao.IssueOptions
Returns the empty options.
none() - Static method in class codes.grow.packages.openbao.SecretIdOptions
Returns the empty options (mount approle).
none() - Static method in class codes.grow.packages.openbao.secrets.DeleteOptions
Returns the empty options (delete the latest version, recoverable where supported).
none() - Static method in class codes.grow.packages.openbao.secrets.GetOptions
Returns the empty options (latest version, default path).
none() - Static method in class codes.grow.packages.openbao.secrets.LoadEnvOptions
Returns the defaults: keep existing variables, no prefix, system properties.
none() - Static method in class codes.grow.packages.openbao.secrets.SetOptions
Returns the empty options.
none() - Static method in class codes.grow.packages.openbao.secrets.WatchOptions
Returns the defaults (errors are ignored, polling continues).
none() - Static method in class codes.grow.packages.openbao.TransitOptions
Returns the empty options.
NONE - Static variable in interface codes.grow.packages.openbao.core.ErrorMapper
Keeps the default error.
NONE - Static variable in interface codes.grow.packages.openbao.core.Hooks
Hooks that do nothing.
NOOP - Static variable in interface codes.grow.packages.openbao.core.Logger
A logger that discards everything.
noParent(boolean) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Creates an orphan token (needs root or sudo).
NOT_FOUND - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
HTTP 404 or a missing record.
NotFoundException - Exception Class in codes.grow.packages.openbao.core
The record does not exist (HTTP 404).
NotFoundException(String) - Constructor for exception class codes.grow.packages.openbao.core.NotFoundException
Creates the exception.
NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.NotFoundException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.NotFoundException
Creates the exception with response details.
NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.NotFoundException
Creates the exception with a cause.
now() - Method in interface codes.grow.packages.openbao.Scheduler
Returns the current time.
now() - Method in class codes.grow.packages.openbao.Scheduler.SystemScheduler
 
NUMBER - Static variable in interface codes.grow.packages.openbao.secrets.SecretsProvider
numUses() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the numUses record component.
numUses() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the numUses record component.
numUses(int) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Sets the number of uses (0 = unlimited).
numUses(int) - Method in class codes.grow.packages.openbao.SecretIdOptions.Builder
Sets the uses of the secret id (0 = unlimited).

O

of(char[]) - Static method in class codes.grow.packages.openbao.core.Secret
Wraps a copy of a character array; the caller may clear its own array afterwards.
of(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Static method in exception class codes.grow.packages.openbao.core.OpenBaoException
Like OpenBaoException.of(ErrorCode, String, Integer, String, Duration, Throwable) with an explicit retryable flag instead of the default of the code.
of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.openbao.core.OpenBaoException
Creates the subclass that matches code.
of(Object) - Static method in class codes.grow.packages.openbao.testing.OpResult
Wraps a value.
of(String) - Static method in class codes.grow.packages.openbao.core.Secret
Wraps a string value.
of(String) - Static method in record class codes.grow.packages.openbao.DecryptBatchItem
An item without context or reference.
of(String) - Static method in record class codes.grow.packages.openbao.EncryptBatchItem
An item without context or reference.
of(String) - Static method in class codes.grow.packages.openbao.secrets.SecretValue
Wraps UTF-8 text.
of(String, String) - Static method in class codes.grow.packages.openbao.secrets.SecretValue
Wraps UTF-8 text with a version.
of(Throwable) - Static method in enum class codes.grow.packages.openbao.core.ErrorCode
Returns the code of an SDK exception.
of(Map<String, String>) - Static method in class codes.grow.packages.openbao.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over an explicit map.
ofBytes(byte[], String) - Static method in class codes.grow.packages.openbao.secrets.SecretValue
Wraps a copy of raw bytes.
ofType(String) - Static method in class codes.grow.packages.openbao.CreateKeyOptions
Options for a key type with every other setting at its default.
ok() - Static method in record class codes.grow.packages.openbao.core.HealthStatus
A healthy ok status without details.
oldestVersion() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the oldestVersion record component.
onChange(Optional<SecretValue>, Optional<SecretValue>) - Method in interface codes.grow.packages.openbao.secrets.WatchListener
Called when the value changed, including deletion.
onError() - Method in class codes.grow.packages.openbao.secrets.WatchOptions
Returns the error callback.
onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.openbao.core.Hooks
Called when an attempt failed (network error, timeout or error status).
onError(Consumer<Throwable>) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the callback for renewal failures (the loop keeps going while time is left).
onError(Consumer<Throwable>) - Method in class codes.grow.packages.openbao.secrets.WatchOptions.Builder
Sets the callback for polling errors; polling continues after an error.
onExpire(Runnable) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the callback run once when the token or lease expires for good.
only(String...) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Restricts the run to these scenario ids.
onRenew(Consumer<RenewalEvent>) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the callback run after every successful renewal or re-login.
onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.openbao.core.Hooks
Called before each attempt.
onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.openbao.core.Hooks
Called when an attempt received a response (any status).
op() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Returns the value of the op record component.
op() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns the value of the op record component.
op(String, String, OpHandler) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Registers one operation.
OpenBaoClient - Class in codes.grow.packages.openbao
Client for OpenBao.
OpenBaoClient.Builder - Class in codes.grow.packages.openbao
Builder that configures and creates a client in one chain.
OpenBaoConfig - Class in codes.grow.packages.openbao
Immutable configuration of a OpenBaoClient (SPEC section 2.2).
OpenBaoConfig.Builder - Class in codes.grow.packages.openbao
Builder of the configuration.
OpenBaoException - Exception Class in codes.grow.packages.openbao.core
Base class of every error raised by the OpenBao SDK (SPEC section 2.1).
OpenBaoException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.OpenBaoException
Creates an exception.
OpenBaoSecretsProvider - Class in codes.grow.packages.openbao
SecretsProvider over an OpenBao KV mount (v1 or v2, auto-detected): client.secrets().
OpenBaoTesting - Class in codes.grow.packages.openbao.testing
OpenBao server lifecycle helpers for tests and bootstrap scripts: init, unseal, seal and waiting for an active node.
OpenBaoTesting.InitResult - Record Class in codes.grow.packages.openbao.testing
operation() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the operation name used in error messages.
operation(String) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Sets the operation name used in error messages.
OpHandler - Interface in codes.grow.packages.openbao.testing
Executes one scenario step and returns its result (or an OpResult).
OpResult - Class in codes.grow.packages.openbao.testing
A step result with optional extra views for the expectations count and tree.
ops() - Method in interface codes.grow.packages.openbao.testing.ConformanceOps
Returns the handlers by operation name.
ops() - Method in class codes.grow.packages.openbao.testing.CoreOps
 
ops() - Method in class codes.grow.packages.openbao.testing.secrets.SecretsOps
 
optArg(String) - Method in class codes.grow.packages.openbao.testing.StepContext
Returns an optional argument.
option(String, String) - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Adds an engine option (e.g.
options() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the options record component.
orphan() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the orphan record component.
orphan() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the orphan record component.
override() - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions
Returns whether existing variables are overwritten.
override(boolean) - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions.Builder
Overwrites existing variables when true.

P

parse(JsonNode) - Static method in record class codes.grow.packages.openbao.testing.Scenario
Parses a scenario document.
parseBool(String) - Static method in class codes.grow.packages.openbao.core.EnvReader
Parses a boolean: true/false/1/0/yes/no/on/off, case-insensitive.
parseDuration(String) - Static method in class codes.grow.packages.openbao.core.EnvReader
Parses a duration: integer milliseconds (1500) or Go-style units (500ms, 10s, 2m, 1h, 1m30s).
parseRateLimitReset(String, Instant) - Static method in class codes.grow.packages.openbao.core.RetryPolicy
Parses a vendor rate-limit reset header such as X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least 1000000000) or an HTTP-date.
parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.openbao.core.RetryPolicy
Parses a Retry-After header: delay seconds or an HTTP-date.
passed() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Returns whether no scenario failed.
PASSED - Enum constant in enum class codes.grow.packages.openbao.testing.ConformanceReport.Status
Every expectation held.
password() - Method in record class codes.grow.packages.openbao.DatabaseCredentials
Returns the value of the password record component.
password(Secret) - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Sets the privileged password.
password(String) - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Sets the privileged password.
patch(String, Map<String, ?>) - Method in interface codes.grow.packages.openbao.Kv
Merges data into the latest version (KV v2, RFC 7386: a null value removes the key).
patch(String, Map<String, ?>, int) - Method in interface codes.grow.packages.openbao.Kv
Patch with check-and-set (KV v2).
patchAsync(String, Map<String, ?>, Integer) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous patch.
patchAsync(String, Map<String, ?>, Integer) - Method in class codes.grow.packages.openbao.KvMount
 
patchAsync(String, Map<String, ?>, Integer) - Method in class codes.grow.packages.openbao.KvV1
 
patchAsync(String, Map<String, ?>, Integer) - Method in class codes.grow.packages.openbao.KvV2
 
path() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the path.
path() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the path record component.
path() - Method in class codes.grow.packages.openbao.secrets.DeleteOptions
Returns the path.
path() - Method in class codes.grow.packages.openbao.secrets.GetOptions
Returns the path / mount / folder.
path() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the folder or path of the secret.
path() - Method in class codes.grow.packages.openbao.secrets.SetOptions
Returns the path.
path() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the path record component.
path(String) - Method in class codes.grow.packages.openbao.secrets.DeleteOptions.Builder
Sets the path.
path(String) - Method in class codes.grow.packages.openbao.secrets.GetOptions.Builder
Sets the path.
path(String) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Sets the path.
path(String) - Method in class codes.grow.packages.openbao.secrets.SetOptions.Builder
Sets the path.
path(String) - Method in class codes.grow.packages.openbao.SecretsOptions.Builder
Sets the base path inside the mount that names are relative to (default OpenBaoConfig.secretsPath()).
performanceStandby() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the performanceStandby record component.
period(Duration) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Creates a periodic token.
permanent() - Method in class codes.grow.packages.openbao.secrets.DeleteOptions
Returns whether data is destroyed without recovery.
permanent(boolean) - Method in class codes.grow.packages.openbao.secrets.DeleteOptions.Builder
Requests permanent deletion.
PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
HTTP 403: the credentials lack a permission.
PermissionDeniedException - Exception Class in codes.grow.packages.openbao.core
The credentials lack a permission (HTTP 403).
PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.openbao.core.PermissionDeniedException
Creates the exception.
PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.PermissionDeniedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.PermissionDeniedException
Creates the exception with response details.
PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.PermissionDeniedException
Creates the exception with a cause.
ping() - Method in class codes.grow.packages.openbao.OpenBaoClient
Authenticated round trip (GET /v1/auth/token/lookup-self, allowed for every valid token).
ping() - Method in interface codes.grow.packages.openbao.testing.CoreTarget
Performs an authenticated round trip.
pingAsync() - Method in class codes.grow.packages.openbao.OpenBaoClient
Asynchronous OpenBaoClient.ping().
pki() - Method in class codes.grow.packages.openbao.OpenBaoClient
The PKI engine on mount pki.
pki(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
The PKI engine on a mount.
Pki - Class in codes.grow.packages.openbao
PKI engine on one mount: client.pki() (mount pki).
plaintext() - Method in record class codes.grow.packages.openbao.DataKey
Returns the value of the plaintext record component.
plaintext() - Method in record class codes.grow.packages.openbao.DecryptBatchResult
Returns the value of the plaintext record component.
plaintext() - Method in record class codes.grow.packages.openbao.EncryptBatchItem
Returns the value of the plaintext record component.
pluginName() - Method in record class codes.grow.packages.openbao.ConnectionInfo
Returns the value of the pluginName record component.
policies() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the policies record component.
policies() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the policies record component.
policies(String...) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Sets the policies.
policy() - Method in record class codes.grow.packages.openbao.Policy
Returns the value of the policy record component.
Policy - Record Class in codes.grow.packages.openbao
An ACL policy.
Policy(String, String) - Constructor for record class codes.grow.packages.openbao.Policy
Creates an instance of a Policy record class.
poll(String, Duration) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Repeats a failing step of op until its expectation passes or timeout (or the step's timeoutMs argument) runs out, for eventually consistent backends.
Poll - Class in codes.grow.packages.openbao.core
Generic polling helper (pollUntil): used by waitForLog, waitForTrace and service waiters.
pollInterval(Duration) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Sets the pause between repeated steps (default ConformanceRunner.DEFAULT_POLL_INTERVAL).
post(String) - Static method in class codes.grow.packages.openbao.core.TransportRequest
Starts a POST request.
post(String, Map<String, Object>, String) - Method in interface codes.grow.packages.openbao.LoginContext
Posts a login request; 400/401/403 raise AuthenticationException.
prefix() - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions
Returns the prefix added to generated variable names.
prefix(String) - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions.Builder
Sets the prefix of generated names (path form only).
prefix(String) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Sets the ${prefix} template (may contain ${run}).
prehashed(boolean) - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Marks the input as already hashed.
privateKey() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the privateKey record component.
privateKeyFormat(String) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets the private key format (issueCertificate only): der or pkcs8.
privateKeyType() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the privateKeyType record component.
progress() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the progress record component.
proxy() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the proxy URL.
proxy() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the explicit proxy URL.
proxy(String) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets an explicit HTTP proxy URL, e.g.
proxy(String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the proxy URL.
proxy(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.
put(String) - Static method in class codes.grow.packages.openbao.core.TransportRequest
Starts a PUT request.
putSecret(String, byte[], SetOptions) - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
 
putSecret(String, byte[], SetOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Writes a secret.
putSecret(String, byte[], SetOptions) - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
 

Q

query() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the query parameters in insertion order.
query(String, Object) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Adds a query parameter (repeatable).

R

random(RandomGenerator) - Method in class codes.grow.packages.openbao.core.RetryPolicy.Builder
Injects the random source used for jitter (tests).
randomBytes(int) - Method in class codes.grow.packages.openbao.Transit
Random bytes from the server, base64 encoded.
randomBytes(int, String) - Method in class codes.grow.packages.openbao.Transit
Random bytes from the server.
randomBytesAsync(int, String) - Method in class codes.grow.packages.openbao.Transit
RATE_LIMITED - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
HTTP 429.
RateLimitException - Exception Class in codes.grow.packages.openbao.core
The service rate-limited the call (HTTP 429); see OpenBaoException.retryAfter().
RateLimitException(String) - Constructor for exception class codes.grow.packages.openbao.core.RateLimitException
Creates the exception.
RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.RateLimitException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.RateLimitException
Creates the exception with response details.
RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.RateLimitException
Creates the exception with a cause.
raw() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the value of the raw record component.
RawResponse - Record Class in codes.grow.packages.openbao
RawResponse(int, Optional<JsonNode>, String, Duration, boolean, List<String>, Optional<WrapInfo>, Optional<AuthInfo>) - Constructor for record class codes.grow.packages.openbao.RawResponse
Creates the record; warnings are copied.
read(String) - Method in interface codes.grow.packages.openbao.Kv
Reads the latest version; NotFoundException when missing, deleted or destroyed.
read(String, int) - Method in interface codes.grow.packages.openbao.Kv
Reads a specific version (KV v2).
readAsync(String, Integer) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous read.
readAsync(String, Integer) - Method in class codes.grow.packages.openbao.KvMount
 
readAsync(String, Integer) - Method in class codes.grow.packages.openbao.KvV1
 
readAsync(String, Integer) - Method in class codes.grow.packages.openbao.KvV2
 
readCaChain() - Method in class codes.grow.packages.openbao.Pki
The CA chain as PEM text (GET <mount>/ca_chain, raw PEM).
readCaChainAsync() - Method in class codes.grow.packages.openbao.Pki
Asynchronous Pki.readCaChain().
readCertificate(String) - Method in class codes.grow.packages.openbao.Pki
A certificate by serial; NotFoundException when unknown.
readCertificateAsync(String) - Method in class codes.grow.packages.openbao.Pki
readConnection(String) - Method in class codes.grow.packages.openbao.Database
Reads a connection (without its password); NotFoundException when missing.
readConnectionAsync(String) - Method in class codes.grow.packages.openbao.Database
readKey(String) - Method in class codes.grow.packages.openbao.Transit
Reads a key; NotFoundException when missing.
readKeyAsync(String) - Method in class codes.grow.packages.openbao.Transit
readMetadata(String) - Method in interface codes.grow.packages.openbao.Kv
Reads the metadata of a secret (KV v2); NotFoundException when missing.
readMetadataAsync(String) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous readMetadata.
readMetadataAsync(String) - Method in class codes.grow.packages.openbao.KvMount
 
readMetadataAsync(String) - Method in class codes.grow.packages.openbao.KvV1
 
readMetadataAsync(String) - Method in class codes.grow.packages.openbao.KvV2
 
readPolicy(String) - Method in class codes.grow.packages.openbao.Sys
Reads an ACL policy; NotFoundException when missing.
readPolicyAsync(String) - Method in class codes.grow.packages.openbao.Sys
readRole(String) - Method in class codes.grow.packages.openbao.Database
Reads a role; NotFoundException when missing.
readRoleAsync(String) - Method in class codes.grow.packages.openbao.Database
readRoleId(String) - Method in class codes.grow.packages.openbao.Sys
The role id of an AppRole role on mount approle; NotFoundException for unknown roles.
readRoleId(String, String) - Method in class codes.grow.packages.openbao.Sys
The role id of an AppRole role.
readRoleIdAsync(String, String) - Method in class codes.grow.packages.openbao.Sys
reason() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns the value of the reason record component.
reauthenticated() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns the value of the reauthenticated record component.
recoveryKeys() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns the value of the recoveryKeys record component.
recoveryKeysBase64() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns the value of the recoveryKeysBase64 record component.
recoverySeal() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the recoverySeal record component.
REDACTED - Static variable in class codes.grow.packages.openbao.core.Redaction
Replacement for every redacted value.
redactFields(Map<String, ?>) - Static method in class codes.grow.packages.openbao.core.Redaction
Same as Redaction.redactFields(Map, Collection) without extra keys.
redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.openbao.core.Redaction
Returns a deep copy of a structure with the values of sensitive keys replaced; recurses into nested maps and lists.
redactHeaderLists(Map<String, List<String>>) - Static method in class codes.grow.packages.openbao.core.Redaction
Returns a copy of multi-valued headers with sensitive values replaced.
redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.openbao.core.Redaction
Returns a copy of single-valued headers with sensitive values replaced.
Redaction - Class in codes.grow.packages.openbao.core
Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
redactText(String, Collection<String>) - Static method in class codes.grow.packages.openbao.core.Redaction
Replaces every occurrence of each known secret value (length 4 or more) with "[REDACTED]".
redactUrl(String) - Static method in class codes.grow.packages.openbao.core.Redaction
Redacts user-info passwords and the values of sensitive query parameters in a URL.
reference() - Method in record class codes.grow.packages.openbao.DecryptBatchItem
Returns the value of the reference record component.
reference() - Method in record class codes.grow.packages.openbao.DecryptBatchResult
Returns the value of the reference record component.
reference() - Method in record class codes.grow.packages.openbao.EncryptBatchItem
Returns the value of the reference record component.
reference() - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Returns the value of the reference record component.
refreshAheadFactor() - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options
Returns the refresh-ahead factor.
refreshAheadFactor(double) - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Sets the refresh-ahead factor; 1 disables refresh-ahead.
refreshes() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns the value of the refreshes record component.
register(ConformanceOps) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Registers (or overrides) operations of a category.
register(AutoCloseable) - Method in class codes.grow.packages.openbao.OpenBaoClient
Registers a resource (watcher, renewer, provider) closed with the client.
removeSecret(String, DeleteOptions) - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
 
removeSecret(String, DeleteOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Deletes a secret.
removeSecret(String, DeleteOptions) - Method in class codes.grow.packages.openbao.testing.secrets.InMemorySecretsProvider
 
renew(String) - Method in class codes.grow.packages.openbao.LeaseManager
Renews a lease with its default increment.
renew(String, Duration) - Method in class codes.grow.packages.openbao.LeaseManager
Renews a lease: PUT sys/leases/renew.
renewable() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.Lease
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.LeaseRenewal
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the renewable record component.
renewable() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns the value of the renewable record component.
renewable(boolean) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Sets whether the token is renewable.
RenewalEvent - Record Class in codes.grow.packages.openbao
Outcome of one successful renewal (or re-login) reported to RenewalOptions.Builder.onRenew.
RenewalEvent(String, Duration, boolean, boolean, List<String>) - Constructor for record class codes.grow.packages.openbao.RenewalEvent
Creates an event; the warnings are copied.
RenewalOptions - Class in codes.grow.packages.openbao
Options of TokenRenewer and LeaseManager.manage(codes.grow.packages.openbao.Lease<?>, codes.grow.packages.openbao.RenewalOptions): renew at renewFraction of the TTL (default 2/3) until the maximum TTL is reached, then call onExpire once at expiry (or log in again for a token renewer with a re-login method).
RenewalOptions.Builder - Class in codes.grow.packages.openbao
Builder of RenewalOptions.
renewAsync(String, Duration) - Method in class codes.grow.packages.openbao.LeaseManager
renewFraction() - Method in class codes.grow.packages.openbao.RenewalOptions
Returns the fraction of the TTL after which a renewal runs.
renewFraction(double) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the fraction of the TTL after which a renewal runs (default 2/3).
renewSelf() - Method in class codes.grow.packages.openbao.Auth
Renews the client token with the server default increment.
renewSelf(Duration) - Method in class codes.grow.packages.openbao.Auth
Renews the client token: POST auth/token/renew-self.
renewSelfAsync(Duration) - Method in class codes.grow.packages.openbao.Auth
renewStatements() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the renewStatements record component.
renewStatements(String...) - Method in class codes.grow.packages.openbao.RoleConfig.Builder
Sets the renewal SQL.
request(String, String, Object) - Method in class codes.grow.packages.openbao.OpenBaoClient
Calls any OpenBao API path (/v1/<path>) with the client token, namespace, retries and error mapping.
REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.openbao.core.HttpTransport
Response headers that carry a vendor request id, in lookup order.
requestAsync(String, String, Object) - Method in class codes.grow.packages.openbao.OpenBaoClient
requestId() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns the value of the requestId record component.
requestId() - Method in exception class codes.grow.packages.openbao.core.OpenBaoException
Returns the vendor request id header of the failed response.
requestId() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the vendor request id header.
RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Creates an instance of a RequestInfo record class.
requestTimeout() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the per-attempt timeout.
requestTimeout() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the per-attempt timeout (default 30 s).
require(String) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret that must exist.
require(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Reads a secret that must exist.
requireAsync(String, GetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
requires() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the value of the requires record component.
requires() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns the value of the requires record component.
resetUnseal(OpenBaoClient) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Discards the unseal keys entered so far (PUT sys/unseal {"reset": true}).
resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.openbao.core.HttpTransport
Resolves a request path and query against the base URL.
ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Creates an instance of a ResponseInfo record class.
retry() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the retry policy.
retry() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the retry policy (default RetryPolicy.defaults()).
retryable() - Method in enum class codes.grow.packages.openbao.core.ErrorCode
Returns whether errors with this code are retryable by default.
retryable() - Method in exception class codes.grow.packages.openbao.core.OpenBaoException
Returns whether retrying the same call may succeed.
retryAfter() - Method in exception class codes.grow.packages.openbao.core.OpenBaoException
Returns the wait the server asked for (Retry-After).
retryAfterHeaders() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset), parsed with RetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant).
retryAfterHeaders(String...) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Adds vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset).
RetryPolicy - Class in codes.grow.packages.openbao.core
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
RetryPolicy.Builder - Class in codes.grow.packages.openbao.core
Builder for RetryPolicy.
reveal() - Method in class codes.grow.packages.openbao.core.Secret
Returns the credential as a string.
reveal() - Method in class codes.grow.packages.openbao.secrets.SecretValue
Returns the value as UTF-8 text.
revealBytes() - Method in class codes.grow.packages.openbao.secrets.SecretValue
Returns a copy of the raw bytes.
revealChars() - Method in class codes.grow.packages.openbao.core.Secret
Returns a copy of the credential characters.
RevocationInfo - Record Class in codes.grow.packages.openbao
RevocationInfo(Optional<Instant>, String) - Constructor for record class codes.grow.packages.openbao.RevocationInfo
Creates an instance of a RevocationInfo record class.
revocationStatements() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the revocationStatements record component.
revocationStatements(String...) - Method in class codes.grow.packages.openbao.RoleConfig.Builder
Sets the revocation SQL.
revocationTime() - Method in record class codes.grow.packages.openbao.CertificateInfo
Returns the value of the revocationTime record component.
revocationTime() - Method in record class codes.grow.packages.openbao.RevocationInfo
Returns the value of the revocationTime record component.
revoke(String) - Method in class codes.grow.packages.openbao.LeaseManager
Revokes a lease now: PUT sys/leases/revoke.
revokeAsync(String) - Method in class codes.grow.packages.openbao.LeaseManager
revokeCertificate(String) - Method in class codes.grow.packages.openbao.Pki
Revokes a certificate by serial (aa:bb:...); unknown serials raise ValidationException.
revokeCertificateAsync(String) - Method in class codes.grow.packages.openbao.Pki
revokedCertDeletedCount() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns the value of the revokedCertDeletedCount record component.
revokeOnStop() - Method in class codes.grow.packages.openbao.RenewalOptions
Returns whether a managed lease is revoked when stopped.
revokeOnStop(boolean) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Revokes a managed lease when it is stopped or the client closes (default false).
revokePrefix(String) - Method in class codes.grow.packages.openbao.LeaseManager
Revokes every lease under a prefix: PUT sys/leases/revoke-prefix/<prefix> (needs sudo).
revokePrefixAsync(String) - Method in class codes.grow.packages.openbao.LeaseManager
revokeSelf() - Method in class codes.grow.packages.openbao.Auth
Revokes the client token (POST auth/token/revoke-self), stops the renewers and forgets the token.
revokeSelfAsync() - Method in class codes.grow.packages.openbao.Auth
Asynchronous Auth.revokeSelf().
rewrap(String, String) - Method in class codes.grow.packages.openbao.Transit
Re-encrypts a ciphertext with the latest key version without revealing the plaintext.
rewrap(String, String, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Re-encrypts with options (key version, context).
rewrapAsync(String, String, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
role(String) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Creates the token from a token role (auth/token/create/<role>).
RoleConfig - Class in codes.grow.packages.openbao
RoleConfig.Builder - Class in codes.grow.packages.openbao
Builder of RoleConfig.
RoleInfo - Record Class in codes.grow.packages.openbao
A database role.
RoleInfo(String, List<String>, List<String>, List<String>, List<String>, Duration, Duration, String) - Constructor for record class codes.grow.packages.openbao.RoleInfo
Creates the record; lists are copied.
rollbackStatements() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns the value of the rollbackStatements record component.
rollbackStatements(String...) - Method in class codes.grow.packages.openbao.RoleConfig.Builder
Sets the rollback SQL.
rootToken() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns the value of the rootToken record component.
rotateKey(String) - Method in class codes.grow.packages.openbao.Transit
Adds a new key version.
rotateKeyAsync(String) - Method in class codes.grow.packages.openbao.Transit
run() - Method in class codes.grow.packages.openbao.testing.ConformanceRunner
Runs every selected scenario.
run(StepContext) - Method in interface codes.grow.packages.openbao.testing.OpHandler
Runs the step.
running() - Method in class codes.grow.packages.openbao.ManagedLease
Returns whether renewal is still active.
running() - Method in class codes.grow.packages.openbao.TokenRenewer
Returns whether the renewer is active.
runScenario(Scenario) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner
Runs one scenario.

S

safetyBuffer(Duration) - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Sets how long past expiry a certificate is kept.
sameAs(SecretValue) - Method in class codes.grow.packages.openbao.secrets.SecretValue
Returns whether both hold the same bytes and version (constant-time byte comparison).
sameValue(Secret) - Method in class codes.grow.packages.openbao.core.Secret
Compares the values in constant time.
save() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns the value of the save record component.
scenario() - Method in class codes.grow.packages.openbao.testing.StepContext
Returns the running scenario.
Scenario - Record Class in codes.grow.packages.openbao.testing
A parsed conformance scenario (conformance/scenarios/*.json).
Scenario(String, String, String, List<String>, List<Scenario.Step>, JsonNode) - Constructor for record class codes.grow.packages.openbao.testing.Scenario
Creates a scenario; lists are copied.
Scenario.Step - Record Class in codes.grow.packages.openbao.testing
One step of a scenario.
scenarioDir(Path) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Reads scenarios from this directory instead of searching for conformance/scenarios.
ScenarioResult(String, String, ConformanceReport.Status, String, List<ConformanceReport.StepResult>, long) - Constructor for record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Creates a result; the list is copied.
scenarios() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Returns the value of the scenarios record component.
scenarios() - Method in class codes.grow.packages.openbao.testing.ConformanceRunner
Returns the scenarios of the categories that have a target, sorted by id.
schedule(Runnable, Duration) - Method in interface codes.grow.packages.openbao.Scheduler
Runs task once after delay.
schedule(Runnable, Duration) - Method in class codes.grow.packages.openbao.Scheduler.SystemScheduler
 
scheduler() - Method in class codes.grow.packages.openbao.RenewalOptions
Returns the scheduler.
scheduler(Scheduler) - Method in class codes.grow.packages.openbao.RenewalOptions.Builder
Sets the scheduler (tests).
Scheduler - Interface in codes.grow.packages.openbao
Clock and timer used by TokenRenewer and LeaseManager.
Scheduler.SystemScheduler - Class in codes.grow.packages.openbao
Wall clock + one shared daemon thread.
SdkInfo - Class in codes.grow.packages.openbao.core
Package identity used in the User-Agent header.
seal(OpenBaoClient) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Seals the server (PUT sys/seal, needs a root or sudo token on the client).
sealed() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the sealed record component.
sealed() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the sealed record component.
sealStatus() - Method in class codes.grow.packages.openbao.Sys
GET sys/seal-status (unauthenticated).
SealStatus - Record Class in codes.grow.packages.openbao
Seal status (GET sys/seal-status, also returned by unseal).
SealStatus(String, boolean, boolean, int, int, int, String, boolean, String, String, String, String) - Constructor for record class codes.grow.packages.openbao.SealStatus
Creates an instance of a SealStatus record class.
sealStatusAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.sealStatus().
sealWrap() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the sealWrap record component.
sealWrap(boolean) - Method in class codes.grow.packages.openbao.EnableOptions.Builder
Enables seal wrapping.
Secret - Class in codes.grow.packages.openbao.core
A credential held in a char[] that never prints itself.
SecretCache - Class in codes.grow.packages.openbao.secrets
LRU cache in front of a SecretsProvider (SPEC section 3).
SecretCache(SecretsProvider) - Constructor for class codes.grow.packages.openbao.secrets.SecretCache
Creates a cache with the default options.
SecretCache(SecretsProvider, SecretCache.Options) - Constructor for class codes.grow.packages.openbao.secrets.SecretCache
Creates a cache.
SecretCache.Options - Class in codes.grow.packages.openbao.secrets
Options of SecretCache.
SecretCache.Options.Builder - Class in codes.grow.packages.openbao.secrets
Builder for SecretCache.Options.
secretId() - Method in record class codes.grow.packages.openbao.SecretIdInfo
Returns the value of the secretId record component.
secretIdAccessor() - Method in record class codes.grow.packages.openbao.SecretIdInfo
Returns the value of the secretIdAccessor record component.
SecretIdInfo - Record Class in codes.grow.packages.openbao
A generated AppRole secret id.
SecretIdInfo(Secret, Secret, int, Duration) - Constructor for record class codes.grow.packages.openbao.SecretIdInfo
Creates an instance of a SecretIdInfo record class.
secretIdNumUses() - Method in record class codes.grow.packages.openbao.SecretIdInfo
Returns the value of the secretIdNumUses record component.
secretIdNumUses(int) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the uses of a secret id (0 = unlimited).
SecretIdOptions - Class in codes.grow.packages.openbao
SecretIdOptions.Builder - Class in codes.grow.packages.openbao
Builder of SecretIdOptions.
secretIdTtl() - Method in record class codes.grow.packages.openbao.SecretIdInfo
Returns the value of the secretIdTtl record component.
secretIdTtl(Duration) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the TTL of secret ids.
SecretMetadata - Class in codes.grow.packages.openbao.secrets
Metadata of a secret (never its value).
SecretMetadata.Builder - Class in codes.grow.packages.openbao.secrets
Builder for SecretMetadata.
secrets() - Method in class codes.grow.packages.openbao.OpenBaoClient
SecretsProvider over the default KV mount.
secrets(SecretsOptions) - Method in class codes.grow.packages.openbao.OpenBaoClient
SecretsProvider over a KV mount and base path.
SecretsOps - Class in codes.grow.packages.openbao.testing.secrets
Conformance operations of the secrets category.
SecretsOps() - Constructor for class codes.grow.packages.openbao.testing.secrets.SecretsOps
Creates the operations.
SecretsOptions - Class in codes.grow.packages.openbao
SecretsOptions.Builder - Class in codes.grow.packages.openbao
Builder of SecretsOptions.
secretsPath() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the base path of client.secrets() inside the KV mount.
secretsPath(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the base path inside the KV mount under which client.secrets() stores secrets (env GROW_OPENBAO_SECRETS_PATH, default "" = the mount root).
SecretsProvider - Interface in codes.grow.packages.openbao.secrets
Uniform secrets API shared by every secrets service (SPEC section 3).
SecretValue - Class in codes.grow.packages.openbao.secrets
A secret value that never prints itself (SPEC section 3).
send(TransportRequest) - Method in class codes.grow.packages.openbao.core.HttpTransport
Executes a request with retries and returns a 2xx (or accepted) response.
sendAsync(TransportRequest) - Method in class codes.grow.packages.openbao.core.HttpTransport
Executes a request with retries asynchronously.
sendJson(TransportRequest) - Method in class codes.grow.packages.openbao.core.HttpTransport
Convenience: sends a request and decodes the JSON body.
serialNumber() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns the value of the serialNumber record component.
serialNumber() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns the value of the serialNumber record component.
serverTime() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the serverTime record component.
serverVersion() - Method in class codes.grow.packages.openbao.OpenBaoClient
Returns the server version from sys/health (e.g.
serverVersion() - Method in interface codes.grow.packages.openbao.testing.CoreTarget
Returns the server version.
serverVersionAsync() - Method in class codes.grow.packages.openbao.OpenBaoClient
serviceName(String) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Sets ${serviceName} (the tracing service name the factory configured).
set(String, Object) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Writes a secret with default options.
set(String, Object, SetOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
 
set(String, Object, SetOptions) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
set(String, Object, SetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Writes a secret.
set(String, String) - Method in interface codes.grow.packages.openbao.secrets.EnvLoader.Target
Writes the variable.
setAsync(String, Object, SetOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
SetOptions - Class in codes.grow.packages.openbao.secrets
Options of set: path, check-and-set version, tags and description.
SetOptions.Builder - Class in codes.grow.packages.openbao.secrets
Builder for SetOptions.
setToken() - Method in class codes.grow.packages.openbao.LoginOptions
Returns whether the client switches to the new token.
setToken(boolean) - Method in class codes.grow.packages.openbao.LoginOptions.Builder
Sets whether the client switches to the new token (default true).
setToken(Secret) - Method in class codes.grow.packages.openbao.OpenBaoClient
Replaces the client token.
setToken(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
Replaces the client token.
sha256() - Method in class codes.grow.packages.openbao.secrets.SecretValue
Returns the SHA-256 of the value (hex), used to detect changes without a version.
shares() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the shares record component.
sign(String, byte[]) - Method in class codes.grow.packages.openbao.Transit
Signs the input with an asymmetric key.
sign(String, byte[], TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Signs with options (hash algorithm, signature algorithm, prehashed, key version, context).
signAsync(String, byte[], TransitOptions) - Method in class codes.grow.packages.openbao.Transit
signature() - Method in record class codes.grow.packages.openbao.Signature
Returns the value of the signature record component.
Signature - Record Class in codes.grow.packages.openbao
A transit signature.
Signature(String, int) - Constructor for record class codes.grow.packages.openbao.Signature
Creates an instance of a Signature record class.
signatureAlgorithm(String) - Method in class codes.grow.packages.openbao.TransitOptions.Builder
Sets the RSA signature algorithm: pss or pkcs1v15.
signCsr(String, String) - Method in class codes.grow.packages.openbao.Pki
Signs a PEM CSR for a role.
signCsr(String, String, IssueOptions) - Method in class codes.grow.packages.openbao.Pki
Signs a PEM CSR: POST <mount>/sign/<role>.
signCsrAsync(String, String, IssueOptions) - Method in class codes.grow.packages.openbao.Pki
SignedCertificate - Record Class in codes.grow.packages.openbao
A certificate signed by the PKI engine (Pki.signCsr(java.lang.String, java.lang.String)).
SignedCertificate(String, String, List<String>, String, Optional<Instant>) - Constructor for record class codes.grow.packages.openbao.SignedCertificate
Creates the record; the chain is copied.
size() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns the value of the size record component.
SKIPPED - Enum constant in enum class codes.grow.packages.openbao.testing.ConformanceReport.Status
A required capability was not declared.
source(String, String...) - Method in class codes.grow.packages.openbao.core.EnvReader
Returns the name of the first variable that is set, for error messages.
sslContext() - Method in class codes.grow.packages.openbao.core.TlsOptions
Builds the SSL context for these options.
staleWhileRevalidate() - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options
Returns how long a stale value may be served while refreshing.
staleWhileRevalidate(Duration) - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Sets the stale-while-revalidate window.
standby() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the standby record component.
startRenewer(RenewalOptions) - Method in class codes.grow.packages.openbao.Auth
Starts a TokenRenewer for the current client token (reads its TTL with Auth.lookupSelf()).
startRenewerAsync(RenewalOptions) - Method in class codes.grow.packages.openbao.Auth
state() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the state record component.
state() - Method in record class codes.grow.packages.openbao.RevocationInfo
Returns the value of the state record component.
state() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns the value of the state record component.
stats() - Method in class codes.grow.packages.openbao.secrets.SecretCache
Returns the counters.
status() - Method in record class codes.grow.packages.openbao.core.HealthStatus
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns the value of the status record component.
status() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the HTTP status.
status() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Returns the value of the status record component.
step() - Method in class codes.grow.packages.openbao.testing.StepContext
Returns the current step.
Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.openbao.testing.Scenario.Step
Creates a step; the list is copied.
StepContext - Class in codes.grow.packages.openbao.testing
Everything an OpHandler needs for one step.
StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Creates an instance of a StepResult record class.
steps() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns the value of the steps record component.
steps() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns the value of the steps record component.
stop() - Method in interface codes.grow.packages.openbao.secrets.WatchHandle
Stops polling.
stopAll() - Method in class codes.grow.packages.openbao.LeaseManager
Stops every managed lease and waits for revocations.
stopAllAsync() - Method in class codes.grow.packages.openbao.LeaseManager
Stops every managed lease (revoking those with revokeOnStop).
stopAsync() - Method in class codes.grow.packages.openbao.ManagedLease
Stops renewing (and revokes the lease when revokeOnStop).
stopRenewers() - Method in class codes.grow.packages.openbao.Auth
Stops every renewer started through this API.
storageType() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the storageType record component.
string(String, String...) - Method in class codes.grow.packages.openbao.core.EnvReader
Reads a string.
stringify(Object) - Static method in class codes.grow.packages.openbao.core.Json
Encodes a value as a JSON string.
substitute(String) - Method in class codes.grow.packages.openbao.testing.StepContext
Substitutes ${name} variables in a string.
substitute(String, Map<String, String>) - Static method in class codes.grow.packages.openbao.testing.ConformanceRunner
Replaces ${name} placeholders; unknown names are kept as they are.
substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.openbao.testing.ConformanceRunner
Substitutes placeholders in every string (and object key) of a JSON tree.
summary() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Returns a multi-line summary listing every scenario.
supportsDecryption() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the supportsDecryption record component.
supportsDerivation() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the supportsDerivation record component.
supportsEncryption() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the supportsEncryption record component.
supportsSigning() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the supportsSigning record component.
sys() - Method in class codes.grow.packages.openbao.OpenBaoClient
System backend (health, seal status, policies, mounts, auth methods, AppRole admin).
Sys - Class in codes.grow.packages.openbao
System backend: client.sys() (health, seal status, leader, policies, mounts, auth methods, AppRole admin).
system() - Static method in class codes.grow.packages.openbao.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over the process environment.
system() - Static method in interface codes.grow.packages.openbao.Scheduler
Returns the system scheduler (wall clock, shared daemon timer thread).
systemProperties() - Static method in class codes.grow.packages.openbao.secrets.EnvLoader
Returns the default target: system properties (existence also checks the environment).

T

tag(String, String) - Method in class codes.grow.packages.openbao.secrets.SetOptions.Builder
Adds a tag.
tags() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the tags or labels.
tags() - Method in class codes.grow.packages.openbao.secrets.SetOptions
Returns the tags.
tags(Map<String, String>) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Adds tags.
tags(Map<String, String>) - Method in class codes.grow.packages.openbao.secrets.SetOptions.Builder
Adds tags.
target() - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions
Returns where variables are written.
target() - Method in class codes.grow.packages.openbao.testing.StepContext
Returns the scenario target.
target(EnvLoader.Target) - Method in class codes.grow.packages.openbao.secrets.LoadEnvOptions.Builder
Sets where variables are written (tests, or a custom map).
target(Class<T>) - Method in class codes.grow.packages.openbao.testing.StepContext
Returns the target cast to a type.
target(String, TargetFactory) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Sets the target factory of a category; categories without a target do not run.
TargetFactory - Interface in codes.grow.packages.openbao.testing
Creates the object a scenario runs against (client, provider, log client, tracing handle).
text() - Method in class codes.grow.packages.openbao.core.TransportResponse
Returns the body decoded as UTF-8.
threshold() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the threshold record component.
tidy() - Method in class codes.grow.packages.openbao.Pki
Starts a tidy run and waits until it is done (defaults).
tidy(TidyOptions) - Method in class codes.grow.packages.openbao.Pki
Starts a tidy run (POST <mount>/tidy, 202) and, unless await(false), polls tidy-status until it is Finished, Error or Cancelled.
tidyAsync(TidyOptions) - Method in class codes.grow.packages.openbao.Pki
Asynchronous Pki.tidy(TidyOptions).
tidyCertStore(boolean) - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Removes expired certificates from the store (default true).
TidyOptions - Class in codes.grow.packages.openbao
TidyOptions.Builder - Class in codes.grow.packages.openbao
Builder of TidyOptions.
tidyRevokedCerts(boolean) - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Removes expired revoked entries (default true).
tidyStatus() - Method in class codes.grow.packages.openbao.Pki
Current tidy progress: GET <mount>/tidy-status.
TidyStatus - Record Class in codes.grow.packages.openbao
Progress of a PKI tidy run (GET <mount>/tidy-status).
TidyStatus(String, Optional<String>, int, int, Optional<Instant>, Optional<Instant>) - Constructor for record class codes.grow.packages.openbao.TidyStatus
Creates an instance of a TidyStatus record class.
tidyStatusAsync() - Method in class codes.grow.packages.openbao.Pki
Asynchronous Pki.tidyStatus().
timeFinished() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns the value of the timeFinished record component.
timeout() - Method in class codes.grow.packages.openbao.core.TransportRequest
Returns the per-attempt timeout override.
timeout(Duration) - Method in class codes.grow.packages.openbao.core.TransportRequest.Builder
Overrides the per-attempt timeout for this call.
timeout(Duration) - Method in class codes.grow.packages.openbao.TidyOptions.Builder
Sets the maximum wait (default 60 s).
TIMEOUT - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
Connect, request or total deadline exceeded, HTTP 408 or 504.
TimeoutException - Exception Class in codes.grow.packages.openbao.core
A connect, request or total deadline was exceeded (or HTTP 408, 504).
TimeoutException(String) - Constructor for exception class codes.grow.packages.openbao.core.TimeoutException
Creates the exception.
TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.TimeoutException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.TimeoutException
Creates the exception with response details.
TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.TimeoutException
Creates the exception with a cause.
timeStarted() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns the value of the timeStarted record component.
tls() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the TLS options.
tls() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the TLS options; environment TLS variables are then ignored.
TlsOptions - Class in codes.grow.packages.openbao.core
TLS settings: custom CA, client certificate (mutual TLS) and the test-only insecureSkipVerify.
TlsOptions.Builder - Class in codes.grow.packages.openbao.core
Builder for TlsOptions.
toBuilder() - Method in class codes.grow.packages.openbao.core.RetryPolicy
Returns a builder initialised from this policy.
toBuilder() - Method in class codes.grow.packages.openbao.core.TlsOptions
Returns a builder initialised from these options.
toBuilder() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns a builder initialised from this metadata.
toBytes(Object) - Static method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
Converts a value for set: String → UTF-8, byte[] as is, SecretValue and Secret by content, anything else JSON-encoded.
token() - Method in class codes.grow.packages.openbao.OpenBaoClient
Returns the current client token (from the config, a login or OpenBaoClient.setToken(codes.grow.packages.openbao.core.Secret)).
token() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the API token.
token() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns the value of the token record component.
token(Secret) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the API token.
token(Secret) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the API token.
token(String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the API token.
token(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the API token.
TokenAuth - Class in codes.grow.packages.openbao
Uses an existing token (X-Vault-Token); login checks it with lookup-self.
TokenAuth(Secret) - Constructor for class codes.grow.packages.openbao.TokenAuth
Creates the method.
TokenAuth(String) - Constructor for class codes.grow.packages.openbao.TokenAuth
Creates the method.
TokenInfo - Record Class in codes.grow.packages.openbao
Properties of a token (auth/token/lookup-self).
TokenInfo(Secret, Optional<Secret>, List<String>, Duration, Duration, Optional<Instant>, Optional<Instant>, Optional<Instant>, boolean, String, Map<String, String>, int, boolean, String, String, Duration, String) - Constructor for record class codes.grow.packages.openbao.TokenInfo
Creates the record; collections are copied.
tokenMaxTtl(Duration) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the maximum TTL of issued tokens.
tokenPolicies() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the tokenPolicies record component.
tokenPolicies(String...) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the policies of issued tokens.
TokenRenewer - Class in codes.grow.packages.openbao
Renews the client token in the background (auth/token/renew-self at 2/3 of the TTL).
tokenTtl(Duration) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the TTL of issued tokens.
tokenType() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns the value of the tokenType record component.
tokenType(String) - Method in class codes.grow.packages.openbao.AppRoleOptions.Builder
Sets the token type: service, batch or default.
toString() - Method in class codes.grow.packages.openbao.AppRoleAuth
 
toString() - Method in record class codes.grow.packages.openbao.AuthInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.CertificateInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.Ciphertext
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.ConnectionConfig
 
toString() - Method in record class codes.grow.packages.openbao.ConnectionInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.core.HealthStatus
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.core.RetryPolicy
 
toString() - Method in class codes.grow.packages.openbao.core.Secret
Always "[REDACTED]".
toString() - Method in class codes.grow.packages.openbao.core.TlsOptions
 
toString() - Method in class codes.grow.packages.openbao.core.TransportResponse
 
toString() - Method in class codes.grow.packages.openbao.Database
 
toString() - Method in record class codes.grow.packages.openbao.DatabaseCredentials
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.DataKey
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.DecryptBatchItem
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.DecryptBatchResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.EncryptBatchItem
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.EncryptBatchResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.IssuedCertificate
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.JwtAuth
 
toString() - Method in class codes.grow.packages.openbao.KubernetesAuth
 
toString() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.KvMount
 
toString() - Method in record class codes.grow.packages.openbao.KvSecret
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.KvV1
 
toString() - Method in class codes.grow.packages.openbao.KvV2
 
toString() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.LeaderStatus
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.Lease
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.LeaseRenewal
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.ManagedLease
 
toString() - Method in record class codes.grow.packages.openbao.MountInfo
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.OpenBaoClient
 
toString() - Method in class codes.grow.packages.openbao.OpenBaoConfig
 
toString() - Method in class codes.grow.packages.openbao.OpenBaoSecretsProvider
 
toString() - Method in class codes.grow.packages.openbao.Pki
 
toString() - Method in record class codes.grow.packages.openbao.Policy
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.RawResponse
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.RevocationInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.RoleInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.SealStatus
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.SecretIdInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.secrets.CacheStats
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.secrets.GetOptions
 
toString() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
 
toString() - Method in class codes.grow.packages.openbao.secrets.SecretValue
 
toString() - Method in record class codes.grow.packages.openbao.Signature
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.SignedCertificate
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.ScenarioResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport.StepResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.testing.OpenBaoTesting.InitResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.testing.Scenario.Step
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.testing.Scenario
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.TidyStatus
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.TokenAuth
 
toString() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.Transit
 
toString() - Method in record class codes.grow.packages.openbao.TransitKey
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.openbao.UserpassAuth
 
toString() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.openbao.WrappingLookup
Returns a string representation of this record class.
totalTimeout() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the budget of a whole call including retries and backoff.
totalTimeout() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the total timeout per call including retries.
totalTimeout(Duration) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the total budget per call.
totalTimeout(Duration) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the total timeout.
totalTimeout(Duration) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the total timeout per call including retries (default 120 s).
toTransportConfig() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Translates the common fields into transport settings.
toTransportConfig(Supplier<Collection<String>>) - Method in class codes.grow.packages.openbao.OpenBaoConfig
Translates the common fields into transport settings with a custom source of secret values to redact (the client adds tokens obtained by a login).
transit() - Method in class codes.grow.packages.openbao.OpenBaoClient
The transit engine on mount transit.
transit(String) - Method in class codes.grow.packages.openbao.OpenBaoClient
The transit engine on a mount.
Transit - Class in codes.grow.packages.openbao
Transit engine on one mount: client.transit() (mount transit).
TransitKey - Record Class in codes.grow.packages.openbao
A transit key (GET transit/keys/<name>).
TransitKey(String, String, Map<String, String>, int, int, int, int, boolean, boolean, boolean, boolean, boolean, boolean, boolean, Duration) - Constructor for record class codes.grow.packages.openbao.TransitKey
Creates the record; the map is copied.
TransitOptions - Class in codes.grow.packages.openbao
Optional parameters of transit operations.
TransitOptions.Builder - Class in codes.grow.packages.openbao
Builder of TransitOptions.
transport() - Method in class codes.grow.packages.openbao.OpenBaoClient
Returns the HTTP transport, for modules built on this client.
TransportConfig - Class in codes.grow.packages.openbao.core
Settings of one HttpTransport.
TransportConfig.Builder - Class in codes.grow.packages.openbao.core
Builder for TransportConfig.
TransportRequest - Class in codes.grow.packages.openbao.core
One logical HTTP call executed by HttpTransport (with retries).
TransportRequest.Builder - Class in codes.grow.packages.openbao.core
Builder for TransportRequest.
TransportResponse - Class in codes.grow.packages.openbao.core
A response returned by HttpTransport (2xx or an accepted status).
TransportResponse(int, Map<String, List<String>>, byte[], int, Duration, String) - Constructor for class codes.grow.packages.openbao.core.TransportResponse
Creates a response (used by the transport and by tests).
tree() - Method in class codes.grow.packages.openbao.testing.OpResult
Returns the tree view.
tree(byte[]) - Static method in class codes.grow.packages.openbao.core.Json
Parses JSON bytes into a tree.
truncate(String, int) - Static method in class codes.grow.packages.openbao.core.Redaction
Truncates text to max characters, appending an ellipsis when cut.
ttl() - Method in record class codes.grow.packages.openbao.LeaseInfo
Returns the value of the ttl record component.
ttl() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns the value of the ttl record component.
ttl() - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options
Returns the time to live.
ttl() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the ttl record component.
ttl() - Method in record class codes.grow.packages.openbao.WrapInfo
Returns the value of the ttl record component.
ttl(Duration) - Method in class codes.grow.packages.openbao.CreateTokenOptions.Builder
Sets the TTL.
ttl(Duration) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets the certificate TTL.
ttl(Duration) - Method in class codes.grow.packages.openbao.SecretIdOptions.Builder
Sets the TTL of the secret id.
ttl(Duration) - Method in class codes.grow.packages.openbao.secrets.SecretCache.Options.Builder
Sets the time to live.
type() - Method in record class codes.grow.packages.openbao.MountInfo
Returns the value of the type record component.
type() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the type record component.
type() - Method in record class codes.grow.packages.openbao.TokenInfo
Returns the value of the type record component.
type() - Method in record class codes.grow.packages.openbao.TransitKey
Returns the value of the type record component.
type(String) - Method in class codes.grow.packages.openbao.CreateKeyOptions.Builder
Sets the key type.

U

UNAVAILABLE - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
Network error or HTTP 500, 502, 503.
UnavailableException - Exception Class in codes.grow.packages.openbao.core
Network error or HTTP 500, 502, 503.
UnavailableException(String) - Constructor for exception class codes.grow.packages.openbao.core.UnavailableException
Creates the exception.
UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.UnavailableException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
UnavailableException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.UnavailableException
Creates the exception with response details.
UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.UnavailableException
Creates the exception with a cause.
undelete(String, List<Integer>) - Method in interface codes.grow.packages.openbao.Kv
Restores soft-deleted versions (KV v2).
undeleteAsync(String, List<Integer>) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous undelete.
undeleteAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvMount
 
undeleteAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvV1
 
undeleteAsync(String, List<Integer>) - Method in class codes.grow.packages.openbao.KvV2
 
unreachable(String) - Static method in record class codes.grow.packages.openbao.core.HealthStatus
The status for a service that could not be reached.
unseal(OpenBaoClient, Secret) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Enters one unseal key (hex or base64): PUT sys/unseal.
UNSUPPORTED - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
A capability the service or deployment does not offer (HTTP 501).
UnsupportedException - Exception Class in codes.grow.packages.openbao.core
The service or deployment does not offer this capability (HTTP 501).
UnsupportedException(String) - Constructor for exception class codes.grow.packages.openbao.core.UnsupportedException
Creates the exception.
UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.UnsupportedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
UnsupportedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.UnsupportedException
Creates the exception with response details.
UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.UnsupportedException
Creates the exception with a cause.
until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.openbao.core.Poll
Calls attempt every interval until it returns a value or timeout passes.
untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.openbao.core.Poll
unwrap(Secret) - Method in class codes.grow.packages.openbao.Wrapping
Unwraps a token: POST sys/wrapping/unwrap authenticated with the wrapping token itself.
unwrap(String) - Method in class codes.grow.packages.openbao.Wrapping
Unwraps a token given as text.
unwrapAsync(Secret) - Method in class codes.grow.packages.openbao.Wrapping
UnwrapResult - Record Class in codes.grow.packages.openbao
The unwrapped response.
UnwrapResult(Optional<Map<String, Object>>, Optional<AuthInfo>, String, Duration, boolean, List<String>) - Constructor for record class codes.grow.packages.openbao.UnwrapResult
Creates the record; collections are copied.
updatedAt() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the last update time.
updatedAt(Instant) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Sets the update time.
updatedTime() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the updatedTime record component.
updateKeyConfig(String, KeyConfig) - Method in class codes.grow.packages.openbao.Transit
Updates key settings.
updateKeyConfigAsync(String, KeyConfig) - Method in class codes.grow.packages.openbao.Transit
uriSans(String...) - Method in class codes.grow.packages.openbao.IssueOptions.Builder
Sets URI subject alternative names.
url() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns the value of the url record component.
url() - Method in record class codes.grow.packages.openbao.core.Hooks.RequestInfo
Returns the value of the url record component.
url() - Method in record class codes.grow.packages.openbao.core.Hooks.ResponseInfo
Returns the value of the url record component.
url() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the endpoint base URL.
url(String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the endpoint base URL.
url(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the endpoint base URL.
userAgent() - Static method in class codes.grow.packages.openbao.core.SdkInfo
Returns the standard user agent: grow-codes-<key>/<version> (java).
userAgent() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the full User-Agent header value.
userAgentSuffix() - Method in class codes.grow.packages.openbao.core.TransportConfig
Returns the user agent suffix.
userAgentSuffix() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the user agent suffix.
userAgentSuffix(String) - Method in class codes.grow.packages.openbao.core.TransportConfig.Builder
Sets the text appended to the standard user agent.
userAgentSuffix(String) - Method in class codes.grow.packages.openbao.OpenBaoClient.Builder
Sets the user agent suffix.
userAgentSuffix(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the text appended to the User-Agent.
username() - Method in record class codes.grow.packages.openbao.DatabaseCredentials
Returns the value of the username record component.
username(String) - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Sets the privileged user name.
UserpassAuth - Class in codes.grow.packages.openbao
Username/password login: POST auth/<mount>/login/<username> {password}.
UserpassAuth(String, Secret, String) - Constructor for class codes.grow.packages.openbao.UserpassAuth
Creates the method.
UserpassAuth(String, String) - Constructor for class codes.grow.packages.openbao.UserpassAuth
Creates the method on mount userpass.

V

validate() - Method in class codes.grow.packages.openbao.core.TlsOptions
Checks that certificate and key come together.
validate() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Checks URL scheme, positive timeouts, retry limits and TLS pairs.
VALIDATION - Enum constant in enum class codes.grow.packages.openbao.core.ErrorCode
HTTP 400, 413, 422, other 4xx or bad input caught client side.
ValidationException - Exception Class in codes.grow.packages.openbao.core
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
ValidationException(String) - Constructor for exception class codes.grow.packages.openbao.core.ValidationException
Creates the exception.
ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ValidationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ValidationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ValidationException
Creates the exception with response details.
ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.openbao.core.ValidationException
Creates the exception with a cause.
value() - Method in class codes.grow.packages.openbao.testing.OpResult
Returns the wrapped value.
valueField() - Method in class codes.grow.packages.openbao.OpenBaoConfig
Returns the KV data field that holds a client.secrets() value.
valueField(String) - Method in class codes.grow.packages.openbao.OpenBaoConfig.Builder
Sets the KV data field that holds a client.secrets() value (default value).
valueField(String) - Method in class codes.grow.packages.openbao.SecretsOptions.Builder
Sets the data field that holds the value (default OpenBaoConfig.valueField()).
valueOf(String) - Static method in enum class codes.grow.packages.openbao.core.ErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.openbao.testing.ConformanceReport.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class codes.grow.packages.openbao.core.ErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.openbao.testing.ConformanceReport.Status
Returns an array containing the constants of this enum class, in the order they are declared.
variable(String) - Method in class codes.grow.packages.openbao.testing.StepContext
Returns a variable (run, prefix, serviceName or a saved name).
variable(String, String) - Method in class codes.grow.packages.openbao.testing.ConformanceRunner.Builder
Sets an extra variable, e.g.
verify(String, byte[], String) - Method in class codes.grow.packages.openbao.Transit
Verifies a signature; false for an invalid signature (not an error).
verify(String, byte[], String, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Verifies a signature with options.
verifyAsync(String, byte[], String, String, TransitOptions) - Method in class codes.grow.packages.openbao.Transit
Asynchronous verification of a signature or an HMAC (exactly one must be given).
verifyConnection(boolean) - Method in class codes.grow.packages.openbao.ConnectionConfig.Builder
Verifies the connection when it is written (server default true).
verifyHmac(String, byte[], String) - Method in class codes.grow.packages.openbao.Transit
Verifies an HMAC produced by Transit.hmac(java.lang.String, byte[]).
version() - Method in record class codes.grow.packages.openbao.HealthResponse
Returns the value of the version record component.
version() - Method in class codes.grow.packages.openbao.KvMount
Returns the KV version (detects it when unknown).
version() - Method in class codes.grow.packages.openbao.KvV1
Returns the KV version.
version() - Method in class codes.grow.packages.openbao.KvV2
Returns the KV version.
version() - Method in record class codes.grow.packages.openbao.KvVersionMetadata
Returns the value of the version record component.
version() - Method in record class codes.grow.packages.openbao.SealStatus
Returns the value of the version record component.
version() - Method in class codes.grow.packages.openbao.secrets.GetOptions
Returns the requested version.
version() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the current version.
version() - Method in class codes.grow.packages.openbao.secrets.SecretValue
Returns the opaque version (KV version, AWS VersionId, ...).
version() - Method in class codes.grow.packages.openbao.Sys
Server version from sys/health; UnsupportedException when none is reported.
version(String) - Method in class codes.grow.packages.openbao.secrets.GetOptions.Builder
Requests a version.
version(String) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Sets the current version.
VERSION - Static variable in class codes.grow.packages.openbao.core.SdkInfo
Package version (from the Maven build).
versionAsync() - Method in class codes.grow.packages.openbao.Sys
Asynchronous Sys.version().
versions() - Method in record class codes.grow.packages.openbao.KvMetadata
Returns the value of the versions record component.
versions() - Method in class codes.grow.packages.openbao.secrets.DeleteOptions
Returns the versions to delete.
versions() - Method in class codes.grow.packages.openbao.secrets.SecretMetadata
Returns the number of stored versions.
versions(Integer) - Method in class codes.grow.packages.openbao.secrets.SecretMetadata.Builder
Sets the number of versions.
versions(String...) - Method in class codes.grow.packages.openbao.secrets.DeleteOptions.Builder
Adds versions to delete.
view(Object) - Static method in class codes.grow.packages.openbao.testing.Expectations
Returns the JSON view of a value used by equals, contains, type and sorted.

W

waitForActive(OpenBaoClient, Duration) - Static method in class codes.grow.packages.openbao.testing.OpenBaoTesting
Polls sys/health every 250 ms until the node is active (initialised, unsealed and leader).
warn(String) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at warn level without fields.
warn(String, Map<String, Object>) - Method in interface codes.grow.packages.openbao.core.Logger
Logs at warn level.
warnings() - Method in record class codes.grow.packages.openbao.Lease
Returns the value of the warnings record component.
warnings() - Method in record class codes.grow.packages.openbao.LeaseRenewal
Returns the value of the warnings record component.
warnings() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the warnings record component.
warnings() - Method in record class codes.grow.packages.openbao.RenewalEvent
Returns the value of the warnings record component.
warnings() - Method in record class codes.grow.packages.openbao.UnwrapResult
Returns the value of the warnings record component.
watch(String, Duration, WatchListener) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Polls a secret without an error callback.
watch(String, Duration, WatchListener, WatchOptions) - Method in class codes.grow.packages.openbao.secrets.BaseSecretsProvider
 
watch(String, Duration, WatchListener, WatchOptions) - Method in class codes.grow.packages.openbao.secrets.SecretCache
 
watch(String, Duration, WatchListener, WatchOptions) - Method in interface codes.grow.packages.openbao.secrets.SecretsProvider
Polls a secret and reports changes (version, or SHA-256 of the value when unversioned), including deletion.
watch(Supplier<Optional<SecretValue>>, Duration, WatchListener, WatchOptions) - Method in class codes.grow.packages.openbao.secrets.Watcher
Starts polling.
Watcher - Class in codes.grow.packages.openbao.secrets
Polls secrets for changes on one daemon thread (created on the first watch).
Watcher() - Constructor for class codes.grow.packages.openbao.secrets.Watcher
Creates a watcher.
WatchHandle - Interface in codes.grow.packages.openbao.secrets
Handle of a running watch.
WatchListener - Interface in codes.grow.packages.openbao.secrets
Receives secret changes from watch.
WatchOptions - Class in codes.grow.packages.openbao.secrets
Options of watch.
WatchOptions.Builder - Class in codes.grow.packages.openbao.secrets
Builder for WatchOptions.
willRetry() - Method in record class codes.grow.packages.openbao.core.Hooks.ErrorInfo
Returns the value of the willRetry record component.
wireValue() - Method in enum class codes.grow.packages.openbao.core.ErrorCode
Returns the wire value used in conformance scenarios and JSON.
with(ConformanceReport.Status) - Method in record class codes.grow.packages.openbao.testing.ConformanceReport
Returns the scenarios with a status.
withCount(int) - Method in class codes.grow.packages.openbao.testing.OpResult
Returns a copy with an explicit count (e.g. the number of spans of a trace).
withJwt(String, Secret, String) - Static method in class codes.grow.packages.openbao.KubernetesAuth
Creates the method with an explicit service account token instead of a file.
withTree(Map<String, List<String>>) - Method in class codes.grow.packages.openbao.testing.OpResult
Returns a copy with a parent-name to child-names view (span trees).
wrap(Map<String, ?>, Duration) - Method in class codes.grow.packages.openbao.Wrapping
Wraps data in a single-use token: POST sys/wrapping/wrap with X-Vault-Wrap-TTL.
wrapAsync(Map<String, ?>, Duration) - Method in class codes.grow.packages.openbao.Wrapping
wrapInfo() - Method in record class codes.grow.packages.openbao.RawResponse
Returns the value of the wrapInfo record component.
WrapInfo - Record Class in codes.grow.packages.openbao
A response-wrapping token (wrap_info).
WrapInfo(Secret, Optional<Secret>, Duration, Optional<Instant>, String) - Constructor for record class codes.grow.packages.openbao.WrapInfo
Creates an instance of a WrapInfo record class.
wrapping() - Method in class codes.grow.packages.openbao.OpenBaoClient
Response wrapping.
Wrapping - Class in codes.grow.packages.openbao
Response wrapping: client.wrapping().
WrappingLookup - Record Class in codes.grow.packages.openbao
Properties of a wrapping token (Wrapping.lookupWrapping(codes.grow.packages.openbao.core.Secret)); the token stays usable.
WrappingLookup(String, Optional<Instant>, Duration) - Constructor for record class codes.grow.packages.openbao.WrappingLookup
Creates an instance of a WrappingLookup record class.
write(String, Map<String, ?>) - Method in interface codes.grow.packages.openbao.Kv
Writes (replaces) a secret.
write(String, Map<String, ?>, int) - Method in interface codes.grow.packages.openbao.Kv
Writes with check-and-set (KV v2): fails with ConflictException unless the current version equals cas (0 = must not exist).
writeAsync(String, Map<String, ?>, Integer) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous write.
writeAsync(String, Map<String, ?>, Integer) - Method in class codes.grow.packages.openbao.KvMount
 
writeAsync(String, Map<String, ?>, Integer) - Method in class codes.grow.packages.openbao.KvV1
 
writeAsync(String, Map<String, ?>, Integer) - Method in class codes.grow.packages.openbao.KvV2
 
writeMetadata(String, KvMetadataOptions) - Method in interface codes.grow.packages.openbao.Kv
Writes metadata settings of a secret (KV v2).
writeMetadataAsync(String, KvMetadataOptions) - Method in interface codes.grow.packages.openbao.Kv
Asynchronous writeMetadata.
writeMetadataAsync(String, KvMetadataOptions) - Method in class codes.grow.packages.openbao.KvMount
 
writeMetadataAsync(String, KvMetadataOptions) - Method in class codes.grow.packages.openbao.KvV1
 
writeMetadataAsync(String, KvMetadataOptions) - Method in class codes.grow.packages.openbao.KvV2
 
writePolicy(String, String) - Method in class codes.grow.packages.openbao.Sys
Creates or replaces an ACL policy: PUT sys/policies/acl/<name>.
writePolicyAsync(String, String) - Method in class codes.grow.packages.openbao.Sys
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form