Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"missing service credentials for application" #2

Closed
afeld opened this issue Oct 9, 2015 · 5 comments
Closed

"missing service credentials for application" #2

afeld opened this issue Oct 9, 2015 · 5 comments
Assignees

Comments

@afeld
Copy link

afeld commented Oct 9, 2015

No description provided.

@afeld
Copy link
Author

afeld commented Oct 9, 2015

Oops, submitted too early. cf env runs fine, but I run into the error above when running cf copyenv:

$ cf --version
cf version 6.12.4-b4b6af1-2015-09-18T17:54:54+00:00
$ cf env slackin
Getting env variables for app slackin in org 18f / space chat as aidan.feldman@gsa.gov...
OK

System-Provided:


{
 "VCAP_APPLICATION": {
  ...
 }
}

User-Provided:
...

No running env variables have been set

No staging env variables have been set

$ cf copyenv slackin
error:  missing service credentials for application

I don't really know Go, but is it possible that the plugin breaks if you don't have any services attached to an application?

@jthomas
Copy link
Owner

jthomas commented Oct 9, 2015

I think it does.
Can I ask what you're hoping to achieve with the "copyenv" plugin if you don't have service credentials bound to your application?

@afeld
Copy link
Author

afeld commented Oct 9, 2015

I have User-Provided environment variables (questionable, I know), so was just hoping to grab those.

@jthomas
Copy link
Owner

jthomas commented Oct 11, 2015

The plugin doesn't currently support exporting anything but the VCAP_SERVICES credentials.
I have another issue (#1) open for adding support for VCAP_APPLICATION. I'll look at adding this feature in when I fix that bug...

@jthomas jthomas self-assigned this Oct 11, 2015
@jthomas
Copy link
Owner

jthomas commented Jun 23, 2016

I've merged a PR to add this feature.

@jthomas jthomas closed this as completed Jun 23, 2016
vaughnh added a commit that referenced this issue Jun 5, 2018
Adding travis build badge to README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants