Interface KeyStoreSecretStore.AliasSpecProvider

    • Method Detail

      • aliasSpecs

        List<KeyStoreSecretStore.AliasSpec> aliasSpecs​(List<String> aliases)
        Returns a list of every usable aliases in a KeyStore, may use a KeyStore's aliases list.
        Parameters:
        aliases - The list of every aliases present in a KeyStore
        Returns:
        a list of AliasSpecs which should be present in a KeyStore
      • remove

        boolean remove​(KeyStoreSecretStore.AliasSpec alias)
        Removes an alias from the usable aliases of a KeyStore.
        Parameters:
        alias - the alias to remove
        Returns:
        true if the alias has been removed, false otherwise
      • addOrReplace

        void addOrReplace​(KeyStoreSecretStore.AliasSpec spec)
        Adds a new AliasSpec in the list of usable aliases. If the alias was already present, overrides it.
        Parameters:
        spec - the AliasSpec to add into the usable aliases list.