Nikita Zinkevich
636be7352e
All checks were successful
DCO action / DCO (pull_request) Successful in 45s
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
14 lines
537 B
Makefile
14 lines
537 B
Makefile
.PHONY: s3cred register
|
|
|
|
password?=
|
|
contract_password?=s3
|
|
gate_public_key?=
|
|
wallet?=
|
|
|
|
# Register wallet & generate S3 credentials
|
|
s3cred:
|
|
@docker exec -e AUTHMATE_WALLET_PASSPHRASE="$(password)" -e AUTHMATE_WALLET_CONTRACT_PASSPHRASE="$(contract_password)" s3_gate /usr/bin/issue-creds.sh s3 "$(wallet)" "$(gate_public_key)"
|
|
|
|
# Only registers user wallet
|
|
register:
|
|
@docker exec -e AUTHMATE_WALLET_PASSPHRASE="$(password)" -e AUTHMATE_WALLET_CONTRACT_PASSPHRASE="$(contract_password)" s3_gate /usr/bin/issue-creds.sh native "$(wallet)"
|