Class Secret

    • Method Detail

      • compartmentId

        public String compartmentId()
        The OCID of the compartment where the secret was created.
        Returns:
        compartment OCID
      • id

        public String id()
        The OCID of the secret.
        Returns:
        secret OCID
      • lifecycleState

        public String lifecycleState()
        The current lifecycle state of the secret.
        Returns:
        lifecycle state
      • name

        public String name()
        The user-friendly name of the secret. Avoid entering confidential information.
        Returns:
        name
      • created

        public Instant created()
        A property indicating when the secret was created.
        Returns:
        creation instant
      • vaultId

        public String vaultId()
        The OCID of the vault where the secret exists.
        Returns:
        vault OCID
      • currentVersionNumber

        public Optional<Integer> currentVersionNumber()
        The version number of the secret version that's currently in use.
        Returns:
        version number
      • description

        public Optional<String> description()
        A brief description of the secret. Avoid entering confidential information.
        Returns:
        description
      • keyId

        public Optional<String> keyId()
        The OCID of the master encryption key that is used to encrypt the secret.
        Returns:
        key OCID
      • lifecycleDetail

        public Optional<String> lifecycleDetail()
        Additional information about the current lifecycle state of the secret.
        Returns:
        lifecycle information
      • versionExpires

        public Optional<Instant> versionExpires()
        An optional property indicating when the current secret version will expire.
        Returns:
        when the version expires
      • deleted

        public Optional<Instant> deleted()
        An optional property indicating when to delete the secret.
        Returns:
        deletion instant