Use this tag if a question is about authenticating or login to a service, e.g. google, github
Questions tagged [authentication]
31 questions
8
votes
5 answers
How do I run Terraform with AWS MFA?
I'm using Terraform with the terraform-provider-aws provider to manage my AWS infrastructure. I'm trying to enable mfa_delete on an S3 bucket, but when I try to apply the change I get this error:
1 error occurred:
* aws_s3_bucket.logs: 1…
Nic
- 351
- 1
- 4
- 12
5
votes
1 answer
Heroku Slack integration without using Github
Heroku has this great Slack chatbot (chatops) that lets you send messages if a deployment pipeline succeeded or failed. Unfortunately, while setting it up and logging in to Heroku, it asks for your github account and will not let you chose a…
keyboardsamurai
- 151
- 4
5
votes
0 answers
Does the GitHub Container Registry provide something like a Deploy Key?
Currently I push to the GitHub Container Registry (GHCR) with my Personal Access Token.
Is there a method to deploy a PRIVATE project "GitHub Container Registry" such that a token will only have access to specified images rather than all of my…
Evan Carroll
- 2,921
- 6
- 37
- 85
4
votes
2 answers
Can not authenticate to DockerHub docker.io with ctr; works fine with crictl
Authentication works on crictl, when I use --creds
$ sudo crictl pull --creds "evancarroll:$TOKEN" docker.io/alpine:3
But when I try the same command ctr, I get an error:
$ sudo ctr images pull --user "evancarroll:$TOKEN"…
Evan Carroll
- 2,921
- 6
- 37
- 85
3
votes
1 answer
Using GSuite or Github to Manage who can log into Linux or Windows VMs on Azure
I want to manage the members of our team who are able to log into our cloud-hosted VMs, both Linux and Windows. We currently use G Suite and GitHub, to manage access to our code and documentation etc. I would really prefer to not have to also…
avi
- 1,279
- 1
- 13
- 32
2
votes
2 answers
How to change Bitbucket User in Azure Pipeline?
A previous engineer set up our Azure pipelines with Bitbucket repositories. He has left the company, his Bitbucket privileges were revoked, so the Azure pipelines can no longer reach Bitbucket.
Azure documentation says we should just be prompted…
Denise Skidmore
- 41
- 5
2
votes
2 answers
Best practices of authentication to Vault
What could be considered the most secure way of authenticating in HashiCorp Vault by an application running in a Kubernetes cluster?
The AppRole method is nice, but implementing AppRole implies that the secret_id must be passed to the application.…
Volodymyr Melnyk
- 121
- 2
1
vote
1 answer
Create User Using Ansible with Authenticate Pem File
Community, I am creating a user on the client machine using Ansible but the issue is it creates a user and add authenticate file but getting an error while SSH to that machine using created, User. Following is my source code.
---
# This file…
Shaha Nawaj Mulla
- 74
- 5
1
vote
1 answer
How to use Jenkins github user credentials to access github api in my script?
I have a Jenkins job foo that works perfectly well. It is authenticated with jenkins_foo_user. It is able to clone the repo and checkout the right branch.
In my codebase, I have another script - query_github.py a script used to query Github API to…
suprita shankar
- 113
- 1
- 3
1
vote
1 answer
Jenkins Pipeline GitLab API Credentials Management
I have a Jenkins pipeline that executes a build whenever a change is pushed to the appropriate branch. Jenkins uses an API token to authenticate with the GitLab server and checkout the repository. Besides creating a "Jenkins" user account in GitLab…
Preston Martin
- 3,288
- 4
- 18
- 39
1
vote
1 answer
Github Personal Access token gets Permission Denied when trying to pull down images from ghcr.io
When I try to pull down images on ghcr.io, I'm getting "permission denied". My token has read:packages.
❯ podman pull ghcr.io/acme-integrations/cpanel-plugins-build-image:main
Trying to pull…
Evan Carroll
- 2,921
- 6
- 37
- 85
1
vote
1 answer
Can you authenticate to ghcr.io and pull down images using fine-grained access tokens?
I want to pull down an image on the GitHub Container Registry. It requires authentication? Can I use a fine-grained access PAT for that?
Evan Carroll
- 2,921
- 6
- 37
- 85
1
vote
2 answers
Azure ACR login fails with "Admin user is disabled" but Portal shows me as Service Admin
(Real need: I want to set up a customized-to-my-needs container for development. I have the dockerfile but my impression is that I need to go through ACR. So:)
I'm logged in to Azure both with the CLI (az login) and with the Azure Portal in a…
Larry OBrien
- 111
- 4
1
vote
1 answer
What is the maximum expiration duration for Azure SAS token created to connect to the Azure IoT Hub?
I want to send messages to the Azure IoT Hub using the MQTT protocol.
I followed this video and managed to connect my Linux-based device (a Raspberry Pi) to the IoT Hub.
As instructed in the aforementioned tutorial, I used the Azure IoT Explorer to…
Sheldon
- 97
- 1
- 1
- 8
1
vote
1 answer
Jenkins pipeline for restricted repo
I have an SVN repo that only a subset of user's are allowed to access. I would like to have Jenkins checkout the repo and build it according the groovy script in the repo. However, when setting this up like my other pipelines BuildSlave fails due to…
Czarking
- 11
- 2