Class VersionedSecret

java.lang.Object
io.micronaut.gcp.secretmanager.client.VersionedSecret

public class VersionedSecret extends Object
A wrapper class around AccessSecretVersionResponse with secret information.
Since:
3.4.0
Author:
Vinicius Carvalho
  • Constructor Details

    • VersionedSecret

      public VersionedSecret(String name, String projectId, String version, byte[] contents)
  • Method Details

    • getName

      public String getName()
      Returns:
      name
    • getContents

      public byte[] getContents()
      Returns:
      contents
    • getVersion

      public String getVersion()
      Returns:
      version
    • getProjectId

      public String getProjectId()
      Returns:
      projectId