2.14. 정책 레지스트리 복사(사용자 정의 정책)
다음과 같은 경우 toolbox 명령을 사용하여 3scale 소스 계정에서 대상 계정으로 정책 레지스트리를 복사합니다.
- 대상 계정에서 누락된 사용자 정의 정책이 생성됩니다.
- 대상 계정에서 일치하는 사용자 지정 정책이 업데이트됩니다.
- 이 복사 명령은 멱등입니다.
참고
- 누락된 사용자 지정 정책은 소스 계정에 존재하고 계정 테넌트에 없는 사용자 지정 정책으로 정의됩니다.
- 일치하는 사용자 지정 정책은 소스 계정과 대상 계정 모두에 존재하는 사용자 지정 정책으로 정의됩니다.
다음 명령은 정책 레지스트리를 복사합니다.
3scale policy-registry copy [opts] <source_remote> <target_remote>
Option for policy-registry -c --config-file=<value> 3scale toolbox configuration file (default: $HOME/.3scalerc.yaml) -h --help show help for this command -k --insecure Proceed and operate even for server connections otherwise considered insecure -v --version Prints the version of this command --verbose Verbose mode