Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
e
echoing-vr-57917
06/28/2021, 12:38 PM
Is this even possible, adding already existing
crt
files to an azure keyvault?
b
billowy-army-68599
06/28/2021, 12:54 PM
it certainly should be, you'd read the files using whatever file read lib from your programming language, then store the contents here:
https://www.pulumi.com/docs/reference/pkg/azure-native/keyvault/
e
echoing-vr-57917
06/28/2021, 12:58 PM
I'm using python, so I read the file and add the file content to one of the resource proprieties
Looking at the
secret
resource, I would assume that the
value
propriety would be the one I should assign the file content
The thing is, for the
keyvault
API, there's a corresponding
Azure secret resource
and a corresponding
Azure key resource
, but no corresponding certificate resource
#general
Join Slack