Is there a way to pass a file as input before i run a pipeline in vsts (File Parameter in VSTS)
up vote
0
down vote
favorite
Is there a way to pass a file as input before i run a pipeline in vsts? . i just want to browse the file from my local desktop (Without checking the file into source control ).
I used to do this as file parameter in jenkins. Trying to do the same in vsts
Note: This is for password file encryption task using ansible (where i can't check in sensitive information file to source control ).
azure-devops azure-pipelines azure-pipelines-release-pipeline
add a comment |
up vote
0
down vote
favorite
Is there a way to pass a file as input before i run a pipeline in vsts? . i just want to browse the file from my local desktop (Without checking the file into source control ).
I used to do this as file parameter in jenkins. Trying to do the same in vsts
Note: This is for password file encryption task using ansible (where i can't check in sensitive information file to source control ).
azure-devops azure-pipelines azure-pipelines-release-pipeline
1
Ideally, this is not the recommended approach for accessing the secrets/sensitive information through a file (from your local desktop). You need to store the secrets in a secure centralized place likeAzureKeyVault
then you can access the secrets from the vault.
– Jayendran
Nov 21 at 2:28
However it's totally upto you to make a decision, for answering your question. You can try to build your piepline using your own custom agent (instead of hosted agent) then you can refer your local desktop as a network path, then access the file.
– Jayendran
Nov 21 at 2:30
Thanks for your reply. I am trying to see if i can pass a txt file as an input before i run the pipeline .(I mean like file parameter in jenkins)
– krishna m
Nov 21 at 2:38
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Is there a way to pass a file as input before i run a pipeline in vsts? . i just want to browse the file from my local desktop (Without checking the file into source control ).
I used to do this as file parameter in jenkins. Trying to do the same in vsts
Note: This is for password file encryption task using ansible (where i can't check in sensitive information file to source control ).
azure-devops azure-pipelines azure-pipelines-release-pipeline
Is there a way to pass a file as input before i run a pipeline in vsts? . i just want to browse the file from my local desktop (Without checking the file into source control ).
I used to do this as file parameter in jenkins. Trying to do the same in vsts
Note: This is for password file encryption task using ansible (where i can't check in sensitive information file to source control ).
azure-devops azure-pipelines azure-pipelines-release-pipeline
azure-devops azure-pipelines azure-pipelines-release-pipeline
edited Nov 21 at 13:13
asked Nov 21 at 1:59
krishna m
165
165
1
Ideally, this is not the recommended approach for accessing the secrets/sensitive information through a file (from your local desktop). You need to store the secrets in a secure centralized place likeAzureKeyVault
then you can access the secrets from the vault.
– Jayendran
Nov 21 at 2:28
However it's totally upto you to make a decision, for answering your question. You can try to build your piepline using your own custom agent (instead of hosted agent) then you can refer your local desktop as a network path, then access the file.
– Jayendran
Nov 21 at 2:30
Thanks for your reply. I am trying to see if i can pass a txt file as an input before i run the pipeline .(I mean like file parameter in jenkins)
– krishna m
Nov 21 at 2:38
add a comment |
1
Ideally, this is not the recommended approach for accessing the secrets/sensitive information through a file (from your local desktop). You need to store the secrets in a secure centralized place likeAzureKeyVault
then you can access the secrets from the vault.
– Jayendran
Nov 21 at 2:28
However it's totally upto you to make a decision, for answering your question. You can try to build your piepline using your own custom agent (instead of hosted agent) then you can refer your local desktop as a network path, then access the file.
– Jayendran
Nov 21 at 2:30
Thanks for your reply. I am trying to see if i can pass a txt file as an input before i run the pipeline .(I mean like file parameter in jenkins)
– krishna m
Nov 21 at 2:38
1
1
Ideally, this is not the recommended approach for accessing the secrets/sensitive information through a file (from your local desktop). You need to store the secrets in a secure centralized place like
AzureKeyVault
then you can access the secrets from the vault.– Jayendran
Nov 21 at 2:28
Ideally, this is not the recommended approach for accessing the secrets/sensitive information through a file (from your local desktop). You need to store the secrets in a secure centralized place like
AzureKeyVault
then you can access the secrets from the vault.– Jayendran
Nov 21 at 2:28
However it's totally upto you to make a decision, for answering your question. You can try to build your piepline using your own custom agent (instead of hosted agent) then you can refer your local desktop as a network path, then access the file.
– Jayendran
Nov 21 at 2:30
However it's totally upto you to make a decision, for answering your question. You can try to build your piepline using your own custom agent (instead of hosted agent) then you can refer your local desktop as a network path, then access the file.
– Jayendran
Nov 21 at 2:30
Thanks for your reply. I am trying to see if i can pass a txt file as an input before i run the pipeline .(I mean like file parameter in jenkins)
– krishna m
Nov 21 at 2:38
Thanks for your reply. I am trying to see if i can pass a txt file as an input before i run the pipeline .(I mean like file parameter in jenkins)
– krishna m
Nov 21 at 2:38
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53404304%2fis-there-a-way-to-pass-a-file-as-input-before-i-run-a-pipeline-in-vsts-file-par%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Ideally, this is not the recommended approach for accessing the secrets/sensitive information through a file (from your local desktop). You need to store the secrets in a secure centralized place like
AzureKeyVault
then you can access the secrets from the vault.– Jayendran
Nov 21 at 2:28
However it's totally upto you to make a decision, for answering your question. You can try to build your piepline using your own custom agent (instead of hosted agent) then you can refer your local desktop as a network path, then access the file.
– Jayendran
Nov 21 at 2:30
Thanks for your reply. I am trying to see if i can pass a txt file as an input before i run the pipeline .(I mean like file parameter in jenkins)
– krishna m
Nov 21 at 2:38