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
The documentation to specify either (access-key + secret-key) or (api-key + service-instance-id):
kubectl apply -f - <<EOF
apiVersion: v1
kind: Secret
type: ibm/ibmc-s3fs
metadata:
name: test-secret
namespace: <NAMESPACE_NAME>
data:
access-key: <access key encoded in base64 (when not using IAM OAuth)>
secret-key: <secret key encoded in base64 (when not using IAM OAuth)>
api-key: <api key encoded in base64 (for IAM OAuth)>
service-instance-id: <service-instance-id encoded in base64 (for IAM OAuth + bucket creation)>
EOF
This is the error I am getting when I specify api-key + service-instance-id:
Broadcast message from systemd-journald@kube-worker2 (Fri 2018-09-07 16:16:58 UTC):
s3fs[19657]: s3fs: if one access key is specified, both keys need to be specified.
Thanks!
The text was updated successfully, but these errors were encountered:
@patrocinio Hi
For IAM, we have to use apikey: and resource_instance_id: from the service credentials.
Convert these value to base64 and set as api-key: & service-instance-id: in following cmd
kubectl apply -f - <<EOF
apiVersion: v1
kind: Secret
type: ibm/ibmc-s3fs
metadata:
name: test-secret
namespace: <NAMESPACE_NAME>
data:
api-key: <api key encoded in base64 (for IAM OAuth)>
service-instance-id: <service-instance-id encoded in base64 (for IAM OAuth + bucket creation)>
EOF
The documentation to specify either (access-key + secret-key) or (api-key + service-instance-id):
Here are the values from my COS instance:
Which values should I specify?
This is the error I am getting when I specify api-key + service-instance-id:
Thanks!
The text was updated successfully, but these errors were encountered: