[
https://issues.apache.org/jira/browse/HDDS-6608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Soumitra Sulav updated HDDS-6608:
---------------------------------
Labels: ozone-multitenancy (was: )
> [MultiTenancy] Create uniform output for AWS secrets across APIs
> ----------------------------------------------------------------
>
> Key: HDDS-6608
> URL: https://issues.apache.org/jira/browse/HDDS-6608
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Priority: Minor
> Labels: ozone-multitenancy
>
> While assigning user to tenant, it logs the access/secret key on the console
> in shell export variables.
> {code:java}
> bash-4.2$ ozone tenant user assign '**' -t tenantone
> Assigned '**' to 'tenantone' with accessId 'tenantone$**'.
> export AWS_ACCESS_KEY_ID='tenantone$**'
> export
> AWS_SECRET_ACCESS_KEY='35d5075f8a4d5dce4a6491a06c2f6f7cf4c2ba443f7f483841551d923527ebcf'{code}
> But while fetching the keys via getsecret API the output is in different
> format.
> {code:java}
> bash-4.2$ ozone tenant user getsecret 'tenantone$**'
> awsAccessKey=tenantone$**
> awsSecret=35d5075f8a4d5dce4a6491a06c2f6f7cf4c2ba443f7f483841551d923527ebcf
> {code}
> Better to have similar format.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]