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
------------------------------
Original Message:
Sent: 03-24-2022 04:27:49 AM
From: Fabio Di Loreto
Subject: Virtualization Plugin | Access Environment credentials
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
------------------------------