forked from TrueCloudLab/frostfs-dev-env
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)"
|