Package org.apache.synapse.securevault.secret.mbean

# Interface JMXSecretsProviderMBean

All Known Implementing Classes:
  `JMXSecretsProvider`

public interface JMXSecretsProviderMBean
Managing MBean for secret

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addSecret(String id, String secret)`
  Add a secret through JMX
  `void`
  `clear()`
  Clear all secrets
  `void`
  `removeSecret(String id)`
  Remove a Secret for given ID

- ## Method Details

  - ### addSecret

    void addSecret(String id, String secret)
    Add a secret through JMX
    Parameters:
      `id` - identify for what this secret is
      `secret` - Secret

  - ### removeSecret

    void removeSecret(String id)
    Remove a Secret for given ID
    Parameters:
      `id` - identify for what this secret is

  - ### clear

    void clear()
    Clear all secrets