appleboy / appleboy/drone-ssh

Secrets from Organization does not get taken

Open
#165 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
314
Forks
79
Avg merge
3m
Merged PRs (30d)
1

Description

Hi all

I have created a secret per Organization as described on https://docs.drone.io/secret/organization/ that it is used in the pipeline:
```
---
kind: pipeline
type: docker
name: Play with ssh

steps:
- name: Promote to STAGE
image: appleboy/drone-ssh
settings:
host: ci.example.io
username: admin
password:
from_secret: ssh_password
port: 22
script:
- echo "Welcome SSH"
- ls -la

trigger:
branch:
- master
```
The secret does not get recognized from `Per Organization` but it recognizes when I put the secret in
![Screenshot from 2020-10-07 15-39-24](https://user-images.githubusercontent.com/56756949/95338587-5f8a4f00-08b3-11eb-8a89-95df706c25ec.png)

Why it does not work the secret from `Per Organization`?

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the organization-secret documentation linked in the issue and compare its requirements with the shown Drone pipeline and `from_secret` usage. Verify whether the secret is available to this repository and whether the plugin receives it; done means identifying a reproducible configuration issue or documenting the missing prerequisite.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.