Get client_secret from OAuth Credential Object


Is there any official way to get client_secret value for Application using Apps API?

We noticed that Okta Dev Console uses internal API that works fine, but due to it is an internal API it can be deprecated/updated without any notice.

It seems the official API response is returning the client_secret:

I also note that when I use PUT method to update existing OAuth app, it also returns the client_secret in JSON response