Improve documentation for password protected pem files
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- r
- Domain
- authentication, documentation
Research direction
Start with the get_azure_token entry point and the R example in the issue, then inspect the package's existing documentation and vignette structure. Add a vignette covering password-protected PEM files and thumbprints, including how the certificate is supplied and where both values belong. Done means the example is clear and addresses the reported read_input error.
Written by the indexing model from the issue text.
Description
Hello!
I have a a registered app on an enterprise account.
My Dev team uses both R and Python.
I'm trying to adapt the Python code to use AzureAuth, but I'm hitting a wall with documentation and error messages.
Variables I have:
- Tenant ID
- Client ID (app id)
- Thumbprint
- pem file
- password to unlock pem file
When I try the code below (trying both the absolute file name and the path to the file) I get this error:
Error in read_input(file) : file must be connection, raw vector or file path
It's also unclear where to enter the pem password or the thumbprint.
Could you please provide a vignette for a password protected pem file and thumbprint?
resource <-"https://graph.microsoft.com/.default"
cert_path <- "C:/Users/<username>/Documents/repo_work/api_r_demo/CHCAnalyticsAutomation.pem"
get_azure_token(resource,
creds$TENANT_ID,
creds$CLIENT_ID,
certificate=cert_path,
auth_type="client_credentials")
- Dominant language
- R
- Stars
- 48
- Forks
- 23
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/AzureAuth
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Similar issues
-
documentation pkg infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
epiverse-trace/epiparameter#511 ·
-
function:write_dwc
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jbkunst/highcharter#849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100