Create a ticket
Sign in Sign up
Locker support Locker support
Results

No results found.

Home Locker Secrets Manager Developer tools Secrets - SDK Java Usages List secrets
Vietnamese English
List secrets

Use .list() method to list all secrets in project

String secrets = client.secrets().list(String.class);

/**
 *  return a list of secrets
 * */
Class<? super LockerCollection<Secret>> type = new TypeToken<LockerCollection<Secret>>() {
}.getRawType();
LockerCollection<Secret> secretList = (LockerCollection<Secret>) client.secrets().list(type);
 
 
 
Was this page helpful?
No
Yes
Join Our Community