You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/user_guide/secrets/mysql.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The ``MySQLDBSecretKeeper.save`` API serializes and stores the credentials to th
40
40
* ``freeform_tags`` (dict, optional): Freeform tags to be used for saving the secret in the OCI Console.
41
41
* ``name`` (str): Name of the secret when saved in the vault.
42
42
43
-
The secret has the following informatio:
43
+
The secret has the following information:
44
44
45
45
* ``database``
46
46
* ``host``
@@ -66,7 +66,7 @@ Save Credentials
66
66
connection_parameters={
67
67
"user_name":"<your user name>",
68
68
"password":"<your password>",
69
-
"service_name":"service_name",
69
+
"database":"database",
70
70
"host":"<db host>",
71
71
"port":"<db port>",
72
72
}
@@ -123,7 +123,7 @@ The ``.load_secret()`` method has the following parameters:
123
123
124
124
- ``auth``: Provide overriding ``auth`` information if the ``auth`` information is different from the ``ads.set_auth`` setting.
125
125
- ``export_env``: The default is ``False``. If set to ``True``, the credentials are exported as environment variabled when used with the ``with`` operator.
126
-
- ``export_prefix``: The default name for environment variable is user_name, password, service_name. and wallet_location. You can add a prefix to avoid name collision.
126
+
- ``export_prefix``: The default name for environment variable is user_name, password, database. and wallet_location. You can add a prefix to avoid name collision.
127
127
- ``format``: (Optional) If ``source`` is a file, then this value must be ``json`` or ``yaml`` depending on the file format.
128
128
- ``source``: Either the file that was exported from ``export_vault_details``, or the OCID of the secret.
0 commit comments