@@ -158,29 +158,29 @@ def set_auth(
158158 ... )
159159 >>> ads.set_auth("security_token", config=config) # Set security token authentication from provided config
160160
161- >>> singer = oci.signer.Signer(
161+ >>> signer = oci.signer.Signer(
162162 ... user=ocid1.user.oc1..<unique_ID>,
163163 ... fingerprint=<fingerprint>,
164164 ... tenancy=ocid1.tenancy.oc1..<unique_ID>,
165165 ... region=us-ashburn-1,
166166 ... private_key_content=<private key content>,
167167 ... )
168- >>> ads.set_auth(singer=singer ) # Set api keys authentication with private key content based on provided signer
168+ >>> ads.set_auth(signer=signer ) # Set api keys authentication with private key content based on provided signer
169169
170- >>> singer = oci.signer.Signer(
170+ >>> signer = oci.signer.Signer(
171171 ... user=ocid1.user.oc1..<unique_ID>,
172172 ... fingerprint=<fingerprint>,
173173 ... tenancy=ocid1.tenancy.oc1..<unique_ID>,
174174 ... region=us-ashburn-1,
175175 ... private_key_file_location=<private key content>,
176176 ... )
177- >>> ads.set_auth(singer=singer ) # Set api keys authentication with private key file location based on provided signer
177+ >>> ads.set_auth(signer=signer ) # Set api keys authentication with private key file location based on provided signer
178178
179- >>> singer = oci.auth.signers.get_resource_principals_signer()
180- >>> ads.auth.create_signer(config={}, singer =signer) # resource principals authentication dictionary created
179+ >>> signer = oci.auth.signers.get_resource_principals_signer()
180+ >>> ads.auth.create_signer(config={}, signer =signer) # resource principals authentication dictionary created
181181
182182 >>> signer_callable = oci.auth.signers.ResourcePrincipalsFederationSigner
183- >>> ads.set_auth(signer_callable=signer_callable) # Set resource principal federation singer callable
183+ >>> ads.set_auth(signer_callable=signer_callable) # Set resource principal federation signer callable
184184
185185 >>> signer_callable = oci.auth.signers.InstancePrincipalsSecurityTokenSigner
186186 >>> signer_kwargs = dict(log_requests=True) # will log the request url and response data when retrieving
@@ -400,7 +400,7 @@ def create_signer(
400400 ... }
401401 >>> auth = ads.auth.create_signer(config=config) # api_key type of authentication dictionary with private key file location created based on provided config
402402
403- >>> singer = oci.auth.signers.get_resource_principals_signer()
403+ >>> signer = oci.auth.signers.get_resource_principals_signer()
404404 >>> auth = ads.auth.create_signer(config={}, signer=signer) # resource principals authentication dictionary created
405405
406406 >>> auth = ads.auth.create_signer(auth_type='instance_principal') # instance principals authentication dictionary created
@@ -517,7 +517,7 @@ def get_signer(
517517) -> Dict :
518518 """
519519 Provides config and signer based given parameters. If oci_config (api key config file location) and
520- oci_profile specified new signer will ge generated. Else singer of a type specified in OCI_CLI_AUTH
520+ oci_profile specified new signer will ge generated. Else signer of a type specified in OCI_CLI_AUTH
521521 environment variable will be used to generate signer and return. If OCI_CLI_AUTH not set,
522522 resource principal signer will be provided. Accepted values for OCI_CLI_AUTH: 'api_key',
523523 'instance_principal', 'resource_principal'.
@@ -929,9 +929,9 @@ def register(cls, signer_type: str, signer: Any) -> None:
929929 Parameters
930930 ----------
931931 signer_type: str
932- Singer type to be registers
932+ signer type to be registers
933933 signer: RecordParser
934- A new Singer class to be registered.
934+ A new signer class to be registered.
935935
936936 Returns
937937 -------
0 commit comments