Skip to content

Commit 12da04a

Browse files
authored
Merge pull request oracle-samples#41 from mohitmagal/master
Update README of custom certificate samples
2 parents 8a8d698 + 410dd60 commit 12da04a

File tree

4 files changed

+16
-0
lines changed
  • samples
    • oci-objectstorage-custom-cert-put-object-go
    • oci-objectstorage-custom-cert-put-object-java
    • oci-objectstorage-custom-cert-put-object-python
    • oci-objectstorage-custom-cert-put-object-ruby

4 files changed

+16
-0
lines changed

samples/oci-objectstorage-custom-cert-put-object-go/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This function uses Resource Principals to securely authorize a function to make
44
API calls to OCI services using the [OCI Go SDK](hhttps://docs.oracle.com/en-us/iaas/tools/go/46.1.0/).
55
It creates an object in a bucket in Object Storage and returns a message with a status.
66

7+
Some OCI realms uses self signed certificates. Certificate being used can be specified in client we create
8+
in function to connect to OCI services. In this function, certificate to be trusted is specified in the
9+
client we are creating to interact with Object Storage.
10+
711
The function calls the following OCI Go SDK classes:
812
* [ResourcePrincipalConfigurationProvider](https://docs.oracle.com/en-us/iaas/tools/go/47.1.0/common/auth/index.html#ResourcePrincipalConfigurationProvider) to authenticate
913
* [NewObjectStorageClientWithConfigurationProvider](https://docs.oracle.com/en-us/iaas/tools/go/47.1.0/objectstorage/index.html#NewObjectStorageClientWithConfigurationProvider) to interact with Object Storage

samples/oci-objectstorage-custom-cert-put-object-java/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This function uses Resource Principals to securely authorize a function to make
44
API calls to OCI services using the [OCI Java SDK](https://docs.cloud.oracle.com/iaas/tools/java/latest/).
55
It creates an object in a bucket in Object Storage and returns a message with a status.
66

7+
Some OCI realms uses self signed certificates. Certificate being used can be specified in client we create
8+
in function to connect to OCI services. In this function, certificate to be trusted is specified in the
9+
client we are creating to interact with Object Storage.
10+
711
The function calls the following OCI Java SDK classes:
812
* [ResourcePrincipalAuthenticationDetailsProvider](https://docs.cloud.oracle.com/en-us/iaas/tools/java/latest/com/oracle/bmc/auth/ResourcePrincipalAuthenticationDetailsProvider.html) to authenticate
913
* [ObjectStorageClient](https://docs.cloud.oracle.com/iaas/tools/java/latest/com/oracle/bmc/objectstorage/ObjectStorageClient.html) to interact with Object Storage

samples/oci-objectstorage-custom-cert-put-object-python/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This function uses Resource Principals to securely authorize a function to make
44
API calls to OCI services using the [OCI Python SDK](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/index.html).
55
It creates an object in a bucket in Object Storage and returns a message with a status.
66

7+
Some OCI realms uses self signed certificates. Certificate being used can be specified in client we create
8+
in function to connect to OCI services. In this function, certificate to be trusted is specified in the
9+
client we are creating to interact with Object Storage.
10+
711
The function calls the following OCI Python SDK classes:
812
* [Resource Principals Signer](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/signing.html#resource-principals-signer) to authenticate
913
* [Object Storage Client](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/object_storage/client/oci.object_storage.ObjectStorageClient.html) to interact with Object Storage

samples/oci-objectstorage-custom-cert-put-object-ruby/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This function uses Resource Principals to securely authorize a function to make
44
API calls to OCI services using the [OCI Ruby SDK](https://docs.cloud.oracle.com/iaas/tools/ruby/latest/).
55
It creates an object in a bucket in Object Storage and returns a message with a status.
66

7+
Some OCI realms uses self signed certificates. Certificate being used can be specified in client we create
8+
in function to connect to OCI services. In this function, certificate to be trusted is specified in the
9+
client we are creating to interact with Object Storage.
10+
711
The function calls the following OCI Ruby SDK classes:
812
* [resource_principals_signer](https://docs.oracle.com/en-us/iaas/tools/ruby/2.14.0/OCI/Auth/Signers/ResourcePrincipalsFederationSigner.html) to authenticate
913
* [ObjectStorageClient](https://docs.oracle.com/en-us/iaas/tools/ruby/2.15.0/OCI/ObjectStorage/ObjectStorageClient.html) to interact with Object Storage

0 commit comments

Comments
 (0)