openstack icon indicating copy to clipboard operation
openstack copied to clipboard

[Feature Request] output application credentials as clouds.yaml

Open harmathy opened this issue 5 months ago • 2 comments

It would be nice to have the ability to output an application credential as ready-to-use clouds.yaml.

This would make automation so much easier, if you could for example just run something like:

osc identity application-credential create --current-user --ouput-clouds-yaml ./foo/clouds.yaml

and then use the clouds.yaml right away.

harmathy avatar Jul 03 '25 12:07 harmathy

I was thinking already about some sort of connection editor, but that is tricky. Also here the best approach is actually to still split the data between clouds.yaml and secure.yaml

Biggest issue is that since all commands are generated from openapi there is no way currently of adding such logic. The only possibility would be to add a new command. Is it something that is still ok from your pov?

gtema avatar Jul 03 '25 13:07 gtema

The only possibility would be to add a new command. Is it something that is still ok from your pov?

Yes, absolutely! That would also be just fine!

harmathy avatar Jul 04 '25 08:07 harmathy