Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

feat(controller): add deis certs:transfer endpoint #526

Open
sstarcher opened this issue Sep 28, 2016 · 2 comments
Open

feat(controller): add deis certs:transfer endpoint #526

sstarcher opened this issue Sep 28, 2016 · 2 comments

Comments

@sstarcher
Copy link
Contributor

Certificates are owned by the individual who creates them. If this person leaves the only option is to delete the cert and re-add the cert.

Originally requested from Deis v1 - deis/deis#4576
Similar to app:transfer - deis/deis#4193

@bacongobbler
Copy link
Member

bacongobbler commented Sep 28, 2016

For now most administrators have been handling this inside the container using https://deis.com/docs/workflow/troubleshooting/kubectl/:

kubectl --namespace=deis exec -it deis-controller-h6lk6 python manage.py shell
>>> from api.models import Certificate
>>> from django.contrib.auth.models import User
>>> newowner = User.objects.get(username='newowner')
>>> c = Certificate.objects.get(name='mycertname')
>>> c.owner = newowner
>>> c.save()

But I agree that having some form of god-mode visibility and transfer-ability for all resources (including certificates) through the API would be useful.

@Cryptophobia
Copy link

This issue was moved to teamhephy/workflow#51

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.