We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ff2a5 commit 7d54193Copy full SHA for 7d54193
ads/common/auth.py
@@ -117,7 +117,7 @@ def set_auth(
117
>>> ads.set_auth("api_key", oci_config_location = "other_config_location") # use non-default oci_config_location
118
119
>>> ads.set_auth("api_key", client_kwargs={"timeout": 60}) # default signer with connection and read timeouts set to 60 seconds for the client.
120
- >>> ads.set_auth("api_key", )
+ >>> ads.set_auth("api_key", signer_kwargs={"key_content": "private_key_content"}) # Create config using key content
121
>>> other_config = oci.config.from_file("other_config_location", "OTHER_PROFILE") # Create non-default config
122
>>> ads.set_auth(config=other_config) # Set api keys type of authentication based on provided config
123
0 commit comments