public interface ResourceProvider
Despite its broad name, this interface is scoped to variable/secret operations.
For general Conjur resource interactions (listing, counting, etc.) see
ResourcesProvider.
| Modifier and Type | Method and Description |
|---|---|
void |
addSecret(String variableId,
String secret)
Creates a secret value within the specified variable
|
default Map<String,String> |
retrieveBatchSecrets(String... variableIds)
Fetch multiple secret values in one invocation.
|
String |
retrieveSecret(String variableId)
Fetch the value of a secret in the specified variable
|
String retrieveSecret(String variableId)
variableId - - id of the variablevoid addSecret(String variableId, String secret)
variableId - - id of the variablesecret - - Secret value within the specified variabledefault Map<String,String> retrieveBatchSecrets(String... variableIds)
variableIds - the variable IDs to retrieve (without account prefix)Copyright © 2026. All rights reserved.