[
https://issues.apache.org/jira/browse/HDDS-1043?focusedWorklogId=208276&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-208276
]
ASF GitHub Bot logged work on HDDS-1043:
----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Mar/19 04:59
Start Date: 06/Mar/19 04:59
Worklog Time Spent: 10m
Work Description: hadoop-yetus commented on pull request #561: HDDS-1043.
Enable token based authentication for S3 api.
URL: https://github.com/apache/hadoop/pull/561#discussion_r262792091
##########
File path: hadoop-ozone/dist/src/main/smoketest/security/ozone-secure.robot
##########
@@ -16,14 +16,42 @@
*** Settings ***
Documentation Smoke test to start cluster with docker-compose
environments.
Library OperatingSystem
+Library String
Resource ../commonlib.robot
+*** Variables ***
+${ENDPOINT_URL} http://s3g:9878
+
+*** Keywords ***
+Install aws cli s3 centos
+ Execute sudo yum install -y awscli
+Install aws cli s3 debian
+ Execute sudo apt-get install -y awscli
+
+Install aws cli
+ ${rc} ${output} = Run And Return Rc And
Output which apt-get
+ Run Keyword if '${rc}' == '0' Install aws cli s3 debian
+ ${rc} ${output} = Run And Return Rc And
Output yum --help
+ Run Keyword if '${rc}' == '0' Install aws cli s3 centos
+
+Setup credentials
+ ${hostname}= Execute hostname
+ Execute kinit -k testuser/${hostname}@EXAMPLE.COM -t
/etc/security/keytabs/testuser.keytab
+ ${result} = Execute ozone sh s3 getsecret
+ ${accessKey} = Get Regexp Matches ${result}
(?<=awsAccessKey=).*
Review comment:
whitespace:tabs in line
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 208276)
Time Spent: 0.5h (was: 20m)
> Enable token based authentication for S3 api
> --------------------------------------------
>
> Key: HDDS-1043
> URL: https://issues.apache.org/jira/browse/HDDS-1043
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Priority: Blocker
> Labels: pull-request-available, security
> Fix For: 0.4.0
>
> Attachments: HDDS-1043.00.patch, HDDS-1043.01.patch,
> HDDS-1043.02.patch, HDDS-1043.03.patch, HDDS-1043.04.patch,
> HDDS-1043.05.patch, HDDS-1043.06.patch, HDDS-1043.07.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Ozone has a S3 api and mechanism to create S3 like secrets for user. This
> jira proposes hadoop compatible token based authentication for S3 api which
> utilizes S3 secret stored in OM.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]