Interface SessionKeys


  • @Deprecated(since="2.5.0",
                forRemoval=true)
    public interface SessionKeys
    Deprecated, for removal: This API element is subject to removal in a future version.
    OCI SDK instead
    Provider of session keys when using Instance principal security.
    • Method Detail

      • create

        static SessionKeys create()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create default instance (using RSA).
        Returns:
        new session keys
      • keyPair

        KeyPair keyPair()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get the key pair.
        Returns:
        key pair
      • refresh

        KeyPair refresh()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Refresh keys.
        Returns:
        a new key pair