IBM / operator-collection-sdk

The IBM Operator Collection SDK provides the resources and tools that are needed to develop Operator Collections against the IBM® z/OS® Cloud Broker as part of the IBM Z® and Cloud Modernization Stack.
https://ibm.github.io/operator-collection-sdk/
Apache License 2.0
8 stars 1 forks source link

Oc get encrypted secret #98

Closed zohiba closed 8 months ago

zohiba commented 8 months ago

Running task :

returns:

changed: [localhost] => { "changed": true, "error": false, "invocation": { "module_args": { "api_version": "v1", "name": "credential-secret-name", "namespace": "zarin-dev" } }, "ssh_key": " whatever the key is", "username": "l9tso2" }

Both the values ssh_key and username are base64 decoded.