본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

drone encrypt

원문 보기 위키 갱신

이 명령은 시크릿을 암호화해요. 암호화된 결과 문자열은 파이프라인에 추가할 수 있어요. 자세한 절차는 Encrypted Secrets 문서를 참고하세요.

출처: Drone CI Docs

본문

NAME:
   drone encrypt - encrypt a secret

USAGE:
   drone encrypt [command options] <repo/name> <string>

사용 예시:

drone encrypt octocat/hello-world "correct-horse-batter-staple"

사용 예시, 파일에서 시크릿 읽기:

drone encrypt octocat/hello-world @/path/to/secret.txt

더 알아보기 (Learn more)