Delphix Products

 View Only
Expand all | Collapse all

Virtualization Plugin | Access Environment credentials

  • 1.  Virtualization Plugin | Access Environment credentials

    Posted 03-24-2022 04:28:00 AM
    Hello everybody,

    we're creating a virtualization plugin, but we need to access the environment credentials in "repository_discovery" method: the only available object is "source_connection". How can we retrieve the Env's credentials?

    Thanks.

    ------------------------------
    Fabio Di Loreto
    Delphix Community Members
    ------------------------------


  • 2.  RE: Virtualization Plugin | Access Environment credentials

    Posted 03-25-2022 10:32:00 AM
    Hello Fabio,

    I believe you are asking about the credentials entered by the admin when creating the environment (please correct me if I got it wrong!). The engine won't expose those credentials to the plugin; the plugin has to rely on the VSDK APIs to tell the engine to perform certain actions on the remote hosts, such as running a bash script: https://developer.delphix.com/References/Platform_Libraries/ .

    Now, the plugin schema can also have a credentials-providing property of type credentialsSupplier or, more specifically, passwordCredentialsSupplier, which will let the plugin receive credentials at runtime from the user or from a password vault: https://developer.delphix.com/References/Schemas/#delphix-specific-pre-defined-types

    ------------------------------
    Raul Santelices
    Senior Staff Engineer
    Delphix
    ------------------------------