Class LocalSecretClient

    • Method Detail

      • getSecret

        public java.lang.String getSecret​(java.lang.String project,
                                          java.lang.String path)
        Description copied from interface: CortexSecretsClient
        Retrieve a secret value by project and key path
        Specified by:
        getSecret in interface CortexSecretsClient
        Parameters:
        project - the project with a secret
        path - the key path to the secret with the project
        Returns:
        the secret value
      • listSecrets

        public java.util.Set<java.lang.String> listSecrets​(java.lang.String project)
        Description copied from interface: CortexSecretsClient
        List all secret keys for a project
        Specified by:
        listSecrets in interface CortexSecretsClient
        Parameters:
        project - the project to list
        Returns:
        a collection of secret keys